machine language program at memory address. If none specified, the execute address of the program loaded off tape is used INPUT [device number] [{prompt text};] variable [,variable 2, variable n] Waits for input from device number. If not specified, device 0 (keyboard) is assumed. An optional prompt can be printed on the screen for the input statement LIST [starting line] - [ending line] lists line(s) of your program. Either start or end can be omitted, or if both are omitted, the entire program will be listed LLIST [starting line] - [ending line] works like LIST, but outputs to the printer MOTOR [ON|OFF] turns the cassette motor on or off NEW erases contents of memory (program and variable) ON {num} GOSUB line 1, line 2, ... line n evaluates expression num and calls the numth subroutine listed ON (num) GOTO line 1, line 2, ... line n evaluates expression num and jumps to the numth line listed OPEN "[I|O]",device number[,"filename"] opens a device for communication POKE memory address, data writes data (0-255) into memory address (0-65535) PRINT device number,expression prints data to device specified. If omitted, #0 (screen) is assumed PRINT @{screen position} expression works like PRINT, but prints at the location specified (0-511) READ variable[,variable,...] reads the next variable(s) from the BASIC program embedded with DATA statements RENUM num renumbers each line of the program at multiples of num RESET(x,y) sets the semigraphics pixel at location x (0-63) and y (0-31) to black RESTORE resets the READ pointer back to the first DATA statement RETURN returns from a subroutine RUN num runs the BASIC program, optionally, at the line number specified SET(x,y,color) sets the semigraphics pixel at location x (0-63) y (0-31) to color (0-8) SKIPF ["filename"] skips over BASIC programs on tape until the program name specified is found SOUND tone,duration sounds a tone with frequency (1-255) and duration (1-255) STOP causes the program to stop executing TAB(column) tabs to the column specified (used with PRINT) VAL(str) returns the numeric value of a string that contains a number in string form Control flow GOSUB {line number} calls the subroutine at the line number specified GOTO {line number} jumps to the program's line number specified IF {test} THEN {command(s)} [ELSE {command(s)}] performs conditional test. If the test is true THEN commands are executed, otherwise (ELSE) other commands are executed. If the no ELSE is specified, and the test is false,