
542
Handling errors
Statements
ON ERROR GOTO
Enables error trapping.
RESUME
Causes program execution to resume at a specified
location after control is transferred to an error-handling
routine.
Functions
ERL
Returns the current statement location of the program
where a run-time error occurred.
ERR
Returns the error code of the most recent run-time error.
Defining and allocating variables
Statements
COMMON
Declares common variables for sharing between user
programs.
CONST
Defines symbolic constants to be replaced with labels.
DATA
Stores numeric and string literals for READ statements.
DECLARE
Declares user-defined function FUNCTION or SUB
externally defined.
DEFREG
Defines register variables.
DIM
Declares and dimensions arrays; also declares the string
length for a string variable.
ERASE
Erases array variables.
GLOBAL
Declares one or more work variables or register variables
defined in a file, to be global.
LET
Assigns a value to a given variable.
PRIVATE
Declares one or more work variables or register variables
defined in a file, to be private (as local variables.)
READ
Reads data defined by DATA statement(s) and assigns
them to variables.
RESTORE
Specifi es a DATA statement location where the READ
statement should start reading data.
Comentários a estes Manuais