The end of the argument list is signaled by the end of the line. To continue a command onto a new line, use a backslash as the last character of the line. This command creates a variable a and sets it to 4. To access the value of a variable, you must precede the name with a dollar-sign. Another example of a command is the expr command that causes a string to be evaluated as an arithmetic expression, and the value of that expression is returned.
Square brackets invoke a function.
A final major syntactic feature is curly-braces. Unlike quotes, they can be nested. In addition, unlike quotes, they also prevent square brackets from being evaluated and dollar-sign substitution. Here is an example. The command in QMG to define a regular polygon is gmpolygon and to apply a transformation gmapply .