BASIC LIST Statements and Functions - fvdhoef/aquarius-plus GitHub Wiki
LIST
TYPE: BASIC Command
FORMAT: LIST [[first_line]
Action: The LIST command allows you to look at lines of the BASIC program currently in the memory of your Aquarius+.
The LIST system command displays all or part of the program that is currently in memory on the default output device. The LIST will normally be directed to the screen and the CMD statement can be used to switch output to an external device such as a printer or a disk. The LIST com- mand can appear in a program, but BASIC always returns to the system READY message after a LIST is executed.
When you bring the program LIST onto the screen, the "scrolling" of the display from the bottom of the screen to the top can be slowed by holding down the WHAT key. LIST is aborted by typing Ctrl-C.
If no line-number are given the entire program is listed. If a line-number is given, that line and all higher-numbered lines are listed.
EXAMPLES of LIST Command:
LIST
- Lists the program currently in memory.LIST 500
- Lists line 500 only.LIST 150-
- Lists all lines from 150 to the end.LIST -1000
- Lists all lines from the lowest through 1000.LIST 150-1000
- Lists lines 150 through 1000, inclusive.
LIST used in Program Mode:
10 PRINT "THIS IS LINE 10"
20 LIST
30 PRINT "THIS IS LINE 30"
LIST$()
TYPE: BASIC System Command
LLIST
TYPE: BASIC Command