For Loops

If in list is omitted in a script, the list is assumed
to be $* --- all the arguments to the script.

Examples:

for name in Jack Jill John Jane Dick
do
print "Next person is $name."
done
integer count=0
for arg in $@
do
let count='count+1'
print "argument $count: $arg"
done
for i in *.for
do
mv $i ${i%.for}.f
print ${i%.for}.f
done