| SymSysVar | Function (ROM Call 0x8C)

vat.h

short SymSysVar (const char *VarName);

Checks for a system-reserved variable name.

SymSysVar checks if a variable pointed to by VarName (an ordinary C string) is a system-reserved variable stored in the symbol table (in the main folder). It returns the same values as CheckSysFunc. Additionally, it returns R_SYSVAR if the variable name is "SysData" or "RegCoef". In fact, this function calls CheckSysFunc with additional checks for "SysData" and "RegCoef".

Uses: CheckSysFunc, strcmp
Used by: HSYMtoName, cmd_movevar, VarNew, VarOpen, VarSaveAs, TokenizeSymName, handleVarLinkKey, getcalc, OSLinkCmd, sendcalc

See also: CheckSysFunc, CheckReservedName