LET variable = expression
Assigns the value of ‘expression’ to the variable. LET is automatically assumed if a statement does not start with a command.
See also:
CLEAR
DATA
DIM
ERASE
READ
RESTORE
Electronic Products for Creative Minds
Assigns the value of ‘expression’ to the variable. LET is automatically assumed if a statement does not start with a command.
See also:
CLEAR
DATA
DIM
ERASE
READ
RESTORE
Marks the end of a user defined function.
Each function must have one and only one matching END FUNCTION statement. Use EXIT FUNCTION if you need to return from a function from within its body.
Only one space is allowed between END and FUNCTION.
See also:
END SUB
EXIT FUNCTION
EXIT SUB
FUNCTION
LOCAL
SUB
Applies to:
CGCOLORMAX
CGMMSTICK
CGMICROBOARD
CGMICROMITE
Defines a list of variable names as local to the subroutine or function.
‘variable’ can be an array and the array will be dimensioned just as if the DIM command had been used.
A local variable will only be visible within the procedure and will be deleted (and the memory reclaimed) when the procedure returns.
If the local variable has the same name as a global variable (used before any subroutines or functions were called) the global variable will be hidden by the local variable while the procedure is executed.
See also:
END FUNCTION
END SUB
EXIT FUNCTION
EXIT SUB
FUNCTION
SUB