|Command||basic.clearfile Statement/BASIC Program
Applicable release versions: AP, R83
|Category||BASIC Program (486)|
|Description||deletes all items in the specified file.variable previously opened with an "open" statement.
The default file.variable is cleared if no file.variable is specified. This statement works like the TCL "clear-file" command.
The file is not deleted, but all non-file type items within the data file or dictionary are deleted. The file retains its same base and modulo. If "dict" is specified in the "open" statement that defines the "file.variable", the dictionary of the file is cleared. If "data" is specified in the associated "open" statement, the data section of the file is cleared. If neither is specified in the associated "open" statement, the data section of the file is cleared.