- LET (assignment)
- INPUT
- DIM (for arrays)
- REM
- IF/THEN/ELSE/ENDIF
- FOR/NEXT
- DO/LOOP (with WHILE/UNTIL)
- Double precision math operators (+,-,*,/, \, MOD, and ^)
- Variables (with any size name)
- Constants
- Numerical functions (ABS, FIX, INT, RND, SGN, and SQR)
- Scientific functions (ATN, COS, EXP, LOG, SIN, and TAN)
- Relational operators (=,<>,<,<=,>, >=, AND, EQV, IMP, NOT, OR, and XOR)
- Print functions (comma, TAB, and SPC)
- Multiple dimension arrays
- Multiple statements per line
The important thing is to get something working and not to over complicate the initial stage. Important and necessary features like strings and integers with associated operators and variables, SELECT CASE, subroutines and user functions etc. will come in later stages. Notice the lack of a GOTO command - this was intentional. Initially classic BASIC line numbers will be used (despite the lack of a GOTO) as a way of entering the lines into memory via console mode. Eventually this will be replaced with a screen editor, but a screen editor is a major undertaking in itself, so this will be delayed for a later stage.
No comments:
Post a Comment
All comments and feedback welcomed, whether positive or negative.
(Anonymous comments are allowed, but comments with URL links or unrelated comments will be removed.)