FolderClear Function (ROM Call 0x66*)

vat.h

short FolderClear (SYM_STR SymName);

Deletes all files in the folder.

FolderClear deletes all files in the folder SymName, but does not remove the folder itself. Returns TRUE if the operation was successful, else returns FALSE (e.g. if the folder is not found). See SYMSTR for rules about SymName. Beware that this routine will delete all symbols in the folder even if they are locked, in use, or archived!

Note: This function calls original TIOS entry called "FolderDel", but passes an extra Boolean parameter set to TRUE. See also note given with FolderDel function.


See also: FolderDel