Changes

Technical information about Locomotive BASIC

99 bytes added, 15:57, 14 March 2007
/* Structure of a BASIC program */
Each line of the BASIC program has the form:
{|{{Prettytable|width: 700px; font-size: 2em;}}|''Offset ''||''Size ''||''Description''|-|0 ||2 ||Length of line data in bytes (note 1)|-|2 ||2 ||16-bit decimal integer line number (note 2)|-|4 ||n ||BASIC line encoded into tokens (note 3)|-|n+1 ||1 ||"0" the end of line marker (note 4)|-|}
'''Notes:'''
* This 16-bit value has two functions:
12,273
edits