Search found 108 matches
Re: RPN Calc
Update! I was about ready to send this project to the graveyard as I have been working on newer things. With the newer Express Calculator and RP1 projects being written in C and PHP, I thought it would be good to update RPN Calc so there's an example of my expression evaluator in Quick BASIC/QBasic....
- Sun Mar 17, 2024 7:51 pm
- Forum: General Discussion
- Topic: New Musical Trax
- Replies: 1
- Views: 239
Re: New Musical Trax
50 views so far. not bad. it will grow.
listened to it at work the other day.
a solid track. make 3 and release a demo!
listened to it at work the other day.
a solid track. make 3 and release a demo!
- Sun Mar 17, 2024 7:29 pm
- Forum: PHP/SQL
- Topic: Net Basic update thread
- Replies: 0
- Views: 174
Net Basic update thread
I realized there's no update thread. Until now, it has been worked on mostly in silence. Most efforts have been put into Express BASIC lately, but I am still dedicated to updating Net Basic. While working on Express BASIC, I found an issue with handling of negation. After fixing the issue, I have be...
- Sun Mar 17, 2024 7:11 pm
- Forum: C/C++
- Topic: Express Calculator
- Replies: 0
- Views: 186
Express Calculator
Express Calculator A command line scientific calculator for DOS, Windows, and Linux. Written in C. Operator precedence: NOT(), ^, MOD, *, /, +, -, <, >, <=, >=, =, <>, XOR, AND, OR Functions: ABS() INT() SQR() SIN() COS() TAN() ATN() LOG() ROUND() SGN() EXP() PRIME() FACTORIAL() RND PI Set the accur...
- Sun Mar 17, 2024 8:17 am
- Forum: C/C++
- Topic: Express BASIC - an interpreter in C
- Replies: 16
- Views: 8688
Re: Express BASIC - an interpreter in C
This week brings a big update. Handling of negation has been improved. For example, -(10 +1) returns -11 as it should. As opposed to -9. I had never accounted for negating outside of parenthesis. Only in front of a variable or literal value. The solution for now is to swap the - with a _1* and later...
- Fri Mar 15, 2024 9:08 am
- Forum: PHP/SQL
- Topic: RP1 Scientific Calculator in PHP
- Replies: 1
- Views: 5642
Re: RP1 Scientific Calculator in PHP
Long awaited update!
Handling of negation has been improved.
Operations display is now complete and optional.
Hexidecimal notation and evaluation is now supported.
The # symbol inserts the last evaluation in an expression.
User interface has been improved.
Backend errors are fixed.
Handling of negation has been improved.
Operations display is now complete and optional.
Hexidecimal notation and evaluation is now supported.
The # symbol inserts the last evaluation in an expression.
User interface has been improved.
Backend errors are fixed.
- Sun Mar 03, 2024 6:13 pm
- Forum: C/C++
- Topic: Express BASIC - an interpreter in C
- Replies: 16
- Views: 8688
Re: Express BASIC - an interpreter in C
Here's a simple demo of sending output to the parallel port in DOS.
The output is viewable with a rs232 quick tester like this:
Code: Select all
10 FOR i = 1 TO 255
20 PRINT CHR$(i),: OUT &H378, i
30 LET t = TIMER
40 IF TIMER < t + 1 THEN 40
50 NEXT i
- Fri Mar 01, 2024 7:56 pm
- Forum: C/C++
- Topic: Express BASIC - an interpreter in C
- Replies: 16
- Views: 8688
Update!!
Hexidecimal values may now be denoted in expressions using the &H prefix. The INP() function and OUT command has been added to the DOS Edition. It makes sense to allow DOS programmers the ability to access ports. This only works on the DOS .Edition and not DPMI, Win32, or Linux. While this allow...
- Mon Feb 26, 2024 6:01 pm
- Forum: General Discussion
- Topic: Mainstream media picking up on retro tech trend
- Replies: 0
- Views: 301
Mainstream media picking up on retro tech trend
Many of us have been preserving and restoring tech from the past for many years. We saw the direction things were going early on. The age of the people's computer continually fades away as entities like Microsoft and Sony grow. Especially when government decides to give subsidies to companies who ar...
- Fri Feb 23, 2024 12:26 pm
- Forum: C/C++
- Topic: Express BASIC - an interpreter in C
- Replies: 16
- Views: 8688
Re: Express BASIC - an interpreter in C
I had to rush out another update as last weeks update introduced another bug with INPUT.
There's also a new error message for undefined line numbers and two new examples.
New examples:
Camel.bas
Father.bas
The Linux Edition is now distributed as a tar.gz archive as opposed to a zip.
There's also a new error message for undefined line numbers and two new examples.
New examples:
Camel.bas
Father.bas
The Linux Edition is now distributed as a tar.gz archive as opposed to a zip.