1.2.2 Command Parsing

Parameters to commands are separated by white space. No sophisticated parsing to figure out parameter boundaries is done.

Multiple commands may be entered on a single line, separated by ";;". (A single ";" is not used because it is the separator for multiple commands in a line that is passed to the Python parser.) No intelligence is applied to separating the commands; the input is split at the first ";;" pair, even if it is in the middle of a quoted string.

Many commands take an integer parameter. In most cases a Python expression which evaluates to an integer expression can be used. For example the 6, 0x6 and 2+4, or int(2*3.1) (among many others) represent the same value, six. You can even use values from variables in your program if you want - although I'm not sure why this would be a good thing to do. However again be mindful of using white space since that is used to separate parameters. So 2 + 4 is not read the same as 2+4.

See About this document... for information on suggesting changes.