INTERPRET

From STX Wiki
< Programmer Guide‎ | Command Reference
Revision as of 14:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

INTERPRET

INTERPRET [ cmdVar=ICMD resVar=IRES [ historyTable ]]

Interpret the contents of a variable as a command. The command returns 0; on success, 1;errorMessage if there was a parsing error, otherwise it returns 2;.

cmdVar
The id of a variable. If neither cmdVar nor resVar are specified, the variable ICMD is used.
resVar
The id of a variable to store the executed command's result in. If neither cmdVar nor resVar are specified, the variable IRES is used.
historyTable
A simple table to which the command should be appended. If the command is already in the history, moved to the end.

Navigation menu

Personal tools