cmd_delvar Function (ROM Call 0x33B)

AMS 1.01 or higher bascmd.h

void cmd_delvar (CESI VarNameList);

Executes TI-Basic 'DelVar' command.

This function deletes one or more TI-Basic variables. 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 variables which are supposed to be deleted. The VarNameList 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 SymDel from the vat.h header file.


Uses: HeapFree, next_expression_index, DerefSym, HSymDel, VarRecall, ROM Call 0x46B


See also: SymDel