next up previous contents index
Next: Example: A Double Up: Control Statements Previous: Example: A Conditional

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


Web Manager
Sat Mar 11 09:37:37 PST 1995