Commands

The command syntax is used to invoke functions in a more straightforward way.

Cmd param1, paramN

Every parameter is a string. To use an expression parameter start with a % and a space, e.g. FileAppend test, % resources["log"]

The command name may optionally be followed by a single comma which is ignored.

Assignments

To assign a string value to a variable use the equals (=) operator: txt = Hello World

Other variables can be referenced in command parameters and assignments by enclosing the inner variable name in % symbols:

place = World
txt = Hello %place%
MsgBox %txt%

Note this only applies to variables, not arrays or object elements.