| cmd_copyvar | Function (ROM Call 0x333)

AMS 1.01 or higher | bascmd.h

void cmd_copyvar (SYM_STR SrcName, SYM_STR DestName);

Executes TI-Basic 'CopyVar' command.

cmd_copyvar copies the contents of one TI-Basic variable to another one. The parameters SrcName and DestName should point to the variable tags of the source and the destination variable, respectively. If the destination variable does not exist, cmd_copyvar creates it. This function may be used instead of low-level routines from vat.h.

Uses: ROM Call 0x438

See also: cmd_movevar, cmd_rename