| Quote: INCLUDED TOKENS
SGN,INT,ABS,USR,FRE,INP,POS,SQR,RND,LOG,EXP,COS,SIN,TAN,ATN,PEEK,DEEK,LEN,STR$,VAL,ASC,CHR$,LEFT$,RIGHT$,MID$
END,FOR,NEXT,DATA,INPUT,DIM,READ,LET,GOTO,RUN,IF,RESTORE,GOSUB,RETURN,REM,STOP,OUT,ON,NULL,WAIT,
DEF,POKE,DOKE,LINES,CLS,WIDTH,MONITOR,PRINT,CONT,LIST,CLEAR,NEW
TAB,TO,FN,SPC,THEN,NOT,STEP
+,-,*,/,^,AND,OR,>,<,=
Note: there is also SET,RESET,POINT that call user-defined entry points, as in the ORIGINAL Nascom ROM (ie. not changed). Don't use unless you have defined the calling points for them (see the assembly listing for details).
EXCLUDED TOKENS (don't do anything if called)
SCREEN,CLOAD,CSAVE
NEW (my additional implementations)
HEX$(nn) - convert a SIGNED integer (-32768 to +32767) to a string containing the hex value BIN$(nn) - convert a SIGNED integer (-32768 to +32767) to a string containing the binary value &Hnn - interpret the value after the &H as a HEX value (signed 16 bit) &Bnn - interpret the value after the &B as a BINARY value (signed 16 bit)
IMPORTANT NOTES
Integers in this version of BASIC are SIGNED - ie. -32768 to +32767. This includes memory locations when peek, poke, deek,doke commands are issued (etc.) So, to refer to location "n" above 32767, you must provide the 2's compliment number instead (ie."n-65536") otherwise you will get an "?FC Error" message.
Functions that return integer values (such as the memory FRE(0) are also signed (!)) so anything bigger than 32767 will appear as a negative value.
| |