![]() ![]() |
|
DELETE-FILEThe jBASE DELETE-FILE command allows the user to delete complete file sets, i.e. Dictionary file, default data section and multiple data sections, or individual data sections.
COMMAND SYNTAXDELETE-FILE {DICT|DATA} filename{,section}
SYNTAX ELEMENTSfilename is the name the file to be deleted. The file type must be one of the supported jBASE file types. If the file type supports separate data and dictionary files, the DICT or DATA keywords may be used to delete either the data file or the dictionary file. section is the name of the data section to be deleted.
NOTESThe command will detect inconsistencies in the use of the command and issue suitable error messages. Warning: Beware of creating a file and then immediately deleting it using the DELETE-FILE command. The DELETE-FILE command will respect the JEDIFILEPATH variable and if it finds a file of the same name in a directory earlier in the path than the current working directory it will delete that file. For this reason it is best to define the JEDIFILEPATH variable as "." (the current working directory).
EXAMPLES
|