qbasic.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CLEAR Statement
  Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
Closes all files, releases file buffers, clears all common variables, sets
numeric variables and arrays to zero, sets string variables to null, and
initializes the stack. Optionally, CLEAR also changes the size of the stack.
 
CLEAR [,,stack&]
 
    ■ stack&    Sets the size (in bytes) of stack space for your program.
 
Example:
    CLEAR ,,2000
 
See Also    ERASE