SymDel Function (ROM Call 0x5E)

vat.h

short SymDel (SYM_STR SymName);

Deletes a symbol.

SymDel deletes the symbol SymName and returns TRUE if the operation was successful, else returns FALSE. See SYMSTR for rules about SymName. Note that this routine will delete symbols even if they are locked or in use! Do not call SymDel to delete a folder, or twin or archived symbols (for these purposes, see FolderDel and SymDelTwin).

Note: Do not call SymDel to delete twin symbols. Instead, use the SymDelTwin function.


Uses: SymFindPtr, HeapFree, HeapRealloc, memmove, CheckGraphRef, statFree, _ds32s32
Used by: SymMove, VarStore, cmd_stogdb, handleVarLinkKey, LIO_Receive, OSLinkCmd, fopen, unlink, gr_del_locals, GraphOrTableCmd, GT_SaveAs, ROM Call 0x438