Toshiba KB-80 Computer Keyboard User Manual


 
- 3 -
LISTS OF COMMANDS, STATEMENTS, AND FUNCTIONS
Declarations and definitions
Statement
CLEAR Format CLEAR
Function Initializes a variable.
DIM Format DIM <variable name> ( <subscript> [, <subscript> ] ···)
[, <variable name> ( <subscript> [, <subscript> ] ···) ] ···
Function Specifies the max. number of array elements, and allocates the memory
area in the memory.
ERASE Format ERASE <array name> [, <array name> ] ···
Function Erases the specified array from the program.
REM Format REM [ <comment> ]
’ (Apostrophe) Function Enters a comment into the program.
STOP Format STOP
Function Terminates the execution of the program, and returns to the command
level state.
END Format END
Function Terminates the execution of the program, closes all opened files, and
returns to the command level state.
General instructions
Statement
DATA Format DATA <constant> [, <constant> ] ···
Function Sets a numeric value or a character constant read by the READ
statement.
READ Format READ <constant> [, <constant> ] ···
Function Reads a value defined by a DATA statement and assigns it to a variable.
RESTORE Format RESTORE
Function Starts reading from the first one of the DATA statements to be read by
the READ statement.
GOTO Format GOTO <line number>
Function Moves the execution to the specified line without any conditions.
GOSUB Format GOSUB <line number>
Function Calls the subroutine program.
ON GOTO
/GOSUB
Format ON <expression> GOTO <line number> [, <line number> ] ···
ON <expression> GOSUB <line number> [, <line number> ] ···
Function Branches the execution to the specified line number according to the
value for <expression>.
RETURN Format RETURN
Function Declares the end of a subroutine, and returns the execution to the
location where the subroutine was called up.