PreviousNext

Controlling Script Execution with Loops

Programming languages use loops to repeat operations as long as specified conditions exist. The dcecp program offers three kinds of loops: foreach, while, and for. The type of loop you use depends on the way conditions are specified.

More:

The foreach Loop

The while Loop

The for Loop