PERFORM (↑ Statements)
◄Key► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Verb: PERFORM
Function: Causes a group of statements to be executed repeatedly.
If the statements are a procedure, this statement
repeatedly transfers control to that procedure, with
automatic return of control each time the procedure
finishes.
Syntax: Which format? Simple ◄TIMES►
◄UNTIL► ◄VARYING►
►►──PERFORM─┬─procedure-name-1─┬─────────────────────────────┬─┬─►◄
│ └┬─THROUGH─┬─procedure-name-2─┘ │
│ └─THRU────┘ │
└─imperative-statement END-PERFORM─────────────────┘
-♦-