DO REPEAT
Repeats a block of commands with stand-in names replaced by lists of variables or values.
Syntax
Section titled “Syntax”DO REPEAT stand = list [/ stand2 = list]. commandsEND REPEAT.Synopsis
Section titled “Synopsis”| Kind | Preprocessor directive (expanded before parsing) |
Examples
Section titled “Examples”DO REPEAT v = q1 TO q5 / r = rq1 TO rq5. COMPUTE r = 6 - v.END REPEAT.- Lists may use TO for variables or numeric ranges; new variable names are created as needed.
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.