| cmd_lock | Function (ROM Call 0x35F)

AMS 1.01 or higher | bascmd.h

void cmd_lock (CESI VarNameList);

Executes TI-Basic 'Lock' command.

cmd_lock locks one or more TI-Basic variables (i.e. VAT symbols). It expects the following layout on the expression stack:
END_TAG symname_n ... symname_2 symname_1
symname_1, symname_2, etc. are VAT symbol names (see SYMSTR and Tags for more info) of variables which should be locked. The parameter VarNameList should point to the tag of the last item.

Uses: next_expression_index, CheckSysFunc, DerefSym, VarRecall

See also: cmd_unlock, cmd_archive, cmd_unarchiv