Previous Topic: Choice of Optional ParametersNext Topic: Separator with Repeatable Variable and Delimiter


Repeatable Variable Parameter

In some statements, you can specify a single parameter more than once. A repeat symbol indicates that you can specify multiple parameters.

The following is a diagram of a statement with a repeatable variable parameter:

             ┌────────────┐
►►─ COMMAND ─▼─ variable ─┴───────────────────────────────────────────────────►◄

In the preceding diagram, the word variable is in lowercase italics, indicating that it is a value you supply, but it is also on the main path, which means that you are required to specify at least one entry. The repeat symbol indicates that you can specify a parameter more than once. Assume that you have three values named VALUEX, VALUEY, and VALUEZ for the variable. The following are some of the statements you might write:

COMMAND VALUEX
COMMAND VALUEX VALUEY
COMMAND VALUEX VALUEX VALUEZ