Previous Next Chapter

Syntax

The syntax for each instruction is shown to the right of the keyword heading. The conventions used in the syntax are shown in Table 4-1:

Table 4-1. Syntax Conventions

Convention

Definition

KEYWORD

All keywords and subkeywords are shown in uppercase letters

| (vertical bar)

Alternative selections are separated by a vertical bar

{ } (braces)

Required alternatives are enclosed by braces

[ ] (brackets)

Optional instruction parts are enclosed in brackets

Note:

The syntax conventions do not apply to the specifications following the keyword heading. They only apply to the syntax shown to the right of the instruction keyword.

For example, the format for the CALL instruction is:

CALL {symbol | string} [expression] [,expression,...]

You must supply a symbol or a string as an argument. The vertical bar identifies the alternative selections, and the braces indicate that the use of an argument is required. The specification of an expression is optional, as indicated by the brackets.

Examples are given at the end of the instruction specification. Explanations or evaluations of the examples are shown as ARexx comments/*...*/.

Top Previous Next Chapter