Programmer Guide/Command Reference/INTERPRET: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
m (1 revision: Initial import)
(No difference)

Revision as of 18:31, 18 November 2010

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