-
Notifications
You must be signed in to change notification settings - Fork 0
CLEAR
Andrew Owen edited this page May 30, 2023
·
2 revisions
CLEAR [mem_limit]
Clears all variables, arrays, DEF FN
user functions. Closes all files. Turns
off all sound. Clears all ON ERROR
traps. Clears the loop stack.
mem_limit
specifies the upper limit of usable memory. Default is previous memory
size. Default memory size is 65535.
If called inside a FOR
to NEXT
or WHILE
to WEND
loop, an error will be
raised at the NEXT
or WEND
statement, since the loop stacks have been cleared.
- Any of the arguments has a string value: Type mismatch.
-
mem_limit
is not in[0 to 65535]
: Overflow. -
mem_limit
is too low: Address out of range.
- Press
RETURN
to return to this menu. - Enter the name of a
TOPIC
to display it. - Enter
EXIT
to return to BASIC.
Choose from the following topics: