Did you know your machine does not limit you to 9999 BASIC lines?
If you attach enough memory, you can create up to 16383 lines. The system won’t edit lines with statement numbers greater than 9999, but you can create higher numbered lines by POKEing the line numbers into the BASIC line.
Your computer executes and lists these lines. The line after 9999 appears as A000; the highest line, 16383, as G383. GOTOs and GOSUBs to high lines work fine. (Use the decimal form in GOTOs and GOSUBs–KO.)
Since you must POKE the line number, to most easily generate a high line, enter it as the lowest line in your program, then POKE the high byte, always located at 16509 for the first line.
Enter the following lines to see how it works:
255 PRINT "TOP"
POKE 16509,63
254 PRINT "ALMOST"
POKE 16509,63
253 PRINT "AT THE"
RUN
9999 GOTO 16383
RUN
(Reprinted by permission from the Boston Computer Society Sinclair Timex newsletter.)
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.