Previous Topic: Keywords and ConstantsNext Topic: Positional Parameters


Optional Choices

Defines optional code items—denoted by square brackets around a code item.

Example:

CMDName [parm1]

In this example, you can choose parm1 or no parameter at all. However, when two or more items are enclosed in square brackets and separated by vertical bar characters, all of them are optional.

Example:

In this example, you can choose parm1, parm2, parm3, or nothing at all.

[parm1 | parm2 | parm3]