| cmd_sendchat | Function (ROM Call 0x389)

AMS 1.01 or higher | bascmd.h

void cmd_sendchat (SYM_STR Var);

Executes TI-Basic 'SendChat' command.

cmd_sendchat is a generic alternative to cmd_sendcalc, which is useful if the receiving unit is a TI-92 (or for making a generic "chat" program that allows any device to be used). See cmd_sendcalc for more info. This function calls sendcalc from the link.h header file.
cmd_sendchat sends a variable only if that variable is compatible with the TI-92, which is typically true in "chat" programs. However, cmd_sendchat will not send an archived variable, a TI-89 graph data base, etc.

Uses: ER_catch, ER_success, ER_throwVar, OSLinkClose, OSLinkOpen, OSLinkReset, sendcalc, idle, OSFreeTimer, OSRegisterTimer, OSTimerExpired, clear_error_context

See also: cmd_sendcalc, cmd_getcalc, cmd_send, sendcalc