GDDM-PGF V2R1.3 OPS User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF | BOOK


Types of operands

GDDM-PGF V2R1.3 OPS User's Guide
SC33-1776-00



There are four kinds of operands:

  • Positional operands
  • Keywords with value
  • Keywords
  • Subcommands
    
    

Positional operands: Positional operands are known to OPS by their position alone. They are always the first (and perhaps the only) operands on a command. For example, in the command:


          arrow 20 20 40 30 double, draw red, head 2

the first four numbers are positional operands; their significance is given by their positions.

Keywords with value: These consist of a keyword followed by a value which OPS is to use. In the ARROW command above, head 2 tells OPS about the head of the arrow.

Keywords: These are operands with no associated value. In the ARROW example, double defines an arrow with a head at each end.

Subcommands: These are OPS commands used as operands on other OPS commands. In the ARROW command, the OPS DRAW command is used as a subcommand (draw red).

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012