Expression Evaluator
This example was created to test the new string functionality.
Supports */+-() operators with precedence.
Also supports decimals and negation.
1 REM RPN Expression Evaluator by Gemino Smothers
2 REM Written in Express BASIC
5 CLS: PRINT "Expression Evaluator": PRINT: PRINT ...
ATTENTION NEW USERS: Due to bot traffic, we are forced to manually approve registrations. We get thousands of bots trying to register, causing us to delete registrations in bulk with little ability to filter what is real or not. If you're having trouble getting approved, then send an email to ptrworkmails@gmail.com explaining that you are a real user. Use the same email you're trying to register with. Thank you.
Search found 149 matches
- Fri Jun 14, 2024 6:02 pm
- Forum: Express BASIC
- Topic: Expression Evaluator
- Replies: 0
- Views: 90985
- Thu Jun 13, 2024 7:51 pm
- Forum: C/C++
- Topic: Express BASIC - an interpreter in C
- Replies: 31
- Views: 11106328
Re: Express BASIC - an interpreter in C
There has been two more major updates.
Read about them here
viewtopic.php?t=110
and here
viewtopic.php?t=111
Plans for the next update:
INKEY$
File i/o
more functions
etc...
Read about them here
viewtopic.php?t=110
and here
viewtopic.php?t=111
Plans for the next update:
INKEY$
File i/o
more functions
etc...
- Thu Jun 13, 2024 7:47 pm
- Forum: News
- Topic: Awesome Express BASIC update!
- Replies: 1
- Views: 99535
Re: Awesome Express BASIC update!
I mistakenly forgot to upload the correct updated exe for DPMI Edition. Fixed now.
The one uploaded was a broken exe form testing.
If you downloaded DPMI Edition, please download it again.
The one uploaded was a broken exe form testing.
If you downloaded DPMI Edition, please download it again.
- Wed Jun 12, 2024 12:03 pm
- Forum: News
- Topic: Awesome Express BASIC update!
- Replies: 1
- Views: 99535
Awesome Express BASIC update!
I'm only going to mention just a bit of what has changed. These past weeks, many improvements and fixes were made.
New features include the commands COLOR and LOCATE. String operations have also been implemented.
String variables may be defined with a dollar sign. Comparison and concatenation ...
New features include the commands COLOR and LOCATE. String operations have also been implemented.
String variables may be defined with a dollar sign. Comparison and concatenation ...
- Sat May 18, 2024 4:40 pm
- Forum: General Discussion
- Topic: Mainstream media picking up on retro tech trend
- Replies: 1
- Views: 119177
Re: Mainstream media picking up on retro tech trend
NBC Bay Area put out a news report called "Play me like Atari: Retro gaming and the push to preserve video game classics" a few days ago.
Atari got some good mainstream coverage. There was discussion about the preservation of classic technology. Also, some stuff about AI being used to cut game ...
Atari got some good mainstream coverage. There was discussion about the preservation of classic technology. Also, some stuff about AI being used to cut game ...
- Fri May 17, 2024 6:46 pm
- Forum: News
- Topic: Massive Express BASIC update!
- Replies: 0
- Views: 89796
Massive Express BASIC update!
We have been working hard for the past few weeks on this update and have made a lot of progress.
Here's a few things that have been added or fixed:
It is no longer required to have a blank line at the end of .bas source files.
Also, it seems that Linux actually doesn't seem to have a problem ...
Here's a few things that have been added or fixed:
It is no longer required to have a blank line at the end of .bas source files.
Also, it seems that Linux actually doesn't seem to have a problem ...
- Fri May 03, 2024 6:42 pm
- Forum: C/C++
- Topic: Express BASIC - an interpreter in C
- Replies: 31
- Views: 11106328
The next update is out
With this next update, we have included more examples and have fixed the issues mentioned previously about not being able to have multiple FOR loops on the same line with the same index variable. Also, the issue with not being able to execute a for loop on the same line as an if statement. These ...
- Thu May 02, 2024 6:34 am
- Forum: C/C++
- Topic: Express BASIC - an interpreter in C
- Replies: 31
- Views: 11106328
Re: Express BASIC - an interpreter in C
We're still working towards the next update.
I encountered another problem. A FOR loop combined after an IF statement doesn't work correctly.
This became apparent with the following example where line 40 and 50 should have been doable with one line.
1 REM https://rosettacode.org/wiki/Sieve_of ...
I encountered another problem. A FOR loop combined after an IF statement doesn't work correctly.
This became apparent with the following example where line 40 and 50 should have been doable with one line.
1 REM https://rosettacode.org/wiki/Sieve_of ...
- Thu May 02, 2024 6:18 am
- Forum: General Discussion
- Topic: BASIC programming language turns 60 years old
- Replies: 0
- Views: 87854
BASIC programming language turns 60 years old
John Kemeny and Thomas Kurtz founded the BASIC programming language on May 1, 1964. The name BASIC is an acronym for Beginner's All-purpose Symbolic Instruction Code.
It has been adapted to work on virtually every computer system in existence. Many people learned to program with it. Due to all of ...
It has been adapted to work on virtually every computer system in existence. Many people learned to program with it. Due to all of ...
- Wed Apr 24, 2024 9:43 am
- Forum: Express BASIC
- Topic: 15 Puzzle number game
- Replies: 0
- Views: 86473
15 Puzzle number game
15 Puzzle
I made this game while testing the new Express Basic release.
It is now included with the download for each edition.
Slide the numbers to the correct order.
5 CLS: PRINT "15 Puzzle by Gemino Smothers": PRINT
10 LET size = 16: GOSUB 1000
20 FOR i = 0 TO size - 1: LET nl = nl + 1
30 ...
I made this game while testing the new Express Basic release.
It is now included with the download for each edition.
Slide the numbers to the correct order.
5 CLS: PRINT "15 Puzzle by Gemino Smothers": PRINT
10 LET size = 16: GOSUB 1000
20 FOR i = 0 TO size - 1: LET nl = nl + 1
30 ...




