DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Writing Deskshell commands

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

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005