getcalc Function (ROM Call 0x54)

link.h

void getcalc (SYM_STR SymName);

Receives a variable (or program) from the link interface.

getcalc receives a variable (or program) from the link interface (this is exactly what the TI-Basic command GetCalc does). SymName is a pointer to the variable name. Note that SymName is not an ordinary C string. Instead, it is zero-started zero-terminated string, and SymName points to the terminating byte of it (many TIOS functions for manipulating with TIOS variables use such strings). See SYMSTR and other functions from the vat.h header file for more info about symbol names).

Note: getcalc enters a loop which will not end until the data is received. The only method to break out of this loop (if no data is received) is pressing the 'ON' key.


Uses: LIO_GetMultiple, LIO_Receive, OSLinkReset, push_indir_name, ER_throwVar, top_estack, NeedStack, ParseSymName, VarStoreLink, SymSysVar
Used by: cmd_getcalc


See also: sendcalc, cmd_getcalc