The while loop in csh - Home | Department of Computer Science
The while loop in csh while (expression) … end while expression is true (nonzero) repeat the body of the loop set a = 99 set b = 57 while ($a != $b) if ($a > $b) then @ a = $a - $b else @ b = $b - $a endif end echo The GCD is $a set backups = 10 while ($b
www.cs.cornell.edu |