| ClearUserDef | Function (ROM Call 0x7E)

vat.h

void ClearUserDef (HANDLE hFuncVar);

Clears TI-Basic program/function status flags.

This function assumes that hFuncVar is the handle of a TI-Basic program or function variable (otherwise the behavior is unpredicted). It clears various status flags which are embedded in the program or function variable itself, which include the link lock flag (see CheckLinkLockFlag), the entry counter (which counts the depth of recursive calls of a function or program), and some flags used in the "Graph" application.

Uses: HToESI
Used by: LIO_Receive, OSLinkCmd, VarStoreLink, ROM Call 0x438