Xplor-NIH home Documentation |
Next: Example: A Double Loop Up: Control Statements Previous: Example: A Conditional Test
Example: A Simple Loop
The following example writes the characters a, b, c, d, and e
to the file “testing.dat":
set display=testing.dat end for $1 in ( a b c d e ) loop main display $1 end loop main
Xplor-NIH 2024-09-13