Control constructs
Deskshell provides the following control constructs,
which perform similar functions to the corresponding
commands in other languages such as C or Pascal:
for- 
executes a script for each value of a list
 
while- 
executes a script while a condition is true
 
until- 
executes a script until a condition becomes true
 
if- 
executes a script depending on the value of a condition
 
case- 
executes a script depending on the value of a variable
 
See also:
Next topic: 
Function definitions
Previous topic: 
Conditionals
© 2003 Caldera International, Inc.  All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003