PreviousNext

Controlling Scripts

The dcecp program provides several commands for controlling your script's execution. Commands such as if, while, for, foreach, and case execute parts of scripts under various conditions. Commands break and continue can stop execution of part or all of a command script.

More:

Conditionalizing with if Statements

Controlling Script Execution with Loops

Terminating Loops with continue and break

Testing with Patterns Before Execution with case