| cmd_rename | Function (ROM Call 0x383)

AMS 1.01 or higher | bascmd.h

void cmd_rename (SYM_STR OldName, SYM_STR NewName);

Executes TI-Basic 'Rename' command.

cmd_rename renames a TI-Basic variable. The parameters OldName and NewName should point to the variable tags of the old name and the new name, respectively (see SYMSTR). This function may be used as a high-level alternative to the low-level function SymMove from the vat.h header file.
This function may cause heap compression.

Uses: ROM Call 0x437

See also: cmd_copyvar, cmd_movevar, SymMove