<br> The 16-bit byte offset is initially set to 0, but is setup when the program is RUN. The offset is stored in little-endian format, with low byte followed by high byte.
#**The token byte defines the variable type (i.e. string, floating point, integer) and the suffix ("$", none and "%"). #**The variable name is stored in the program, with bit 7 of the last character set to "1". e.g. The variable named "abc" will be encoded as 'a','b','c'+&80 #*String values: #**Each string value is prefixed with &22 token. #**All strings must be enclosed by double quote symbols (&quot). This symbols define the start and end of the string value. #**The string value can contain any symbol except the quote ("). i.e. 0-&21, and &23-&ff can be used.
*After running a program, Tokens of "1d" with 16-bit BASIC program line pointers are changed to token "1e" with the 16-bit memory address of the BASIC line number in memory.
<br> NOTES:
#*These codes are prefixed by &FF. e.g. The keyword "ABS" is stored as the following sequence: <pre>&FF,&00</pre> #*Codes &1e...&3f inclusive are not used #*Codes &4a...&6f inclusive are not used #*Codes &80...&ff inclusive are not used
#*When a BASIC program is in memory, the BASIC ROM can replace "16-bit BASIC program line number" tokens with "16-bit BASIC program line memory address pointer".
When a program is loaded or saved, there will only be "16-bit BASIC program line number" tokens followed by a 16-bit number of the line.