cmd_delfold Function (ROM Call 0x33A)

AMS 1.01 or higher bascmd.h

void cmd_delfold (CESI FolderNameList);

Executes TI-Basic 'DelFold' command.

cmd_delfold deletes one or more empty folders. It expects the following layout on the expression stack:

END_TAG symname_n ... symname_2 symname_1

symname_1, symname_2, etc. are VAT symbol names (see SYMSTR and Tags for more info) of folders which are supposed to be deleted. The FolderNameList parameter should point to the tag of the last item. This function may be used as a high-level alternative for the low-level function FolderDel from the vat.h header file.


Uses: next_expression_index, ST_folder, DerefSym, HSymDel, SymFindHome


See also: cmd_newfold, FolderDel