Loops

Home

 

While loops do not necessarily involve scripts, loops together with scripts are Hypatia's most powerful feature.

A loop can end after a given number of passes, or when a certain condition is met.

A script can be run in a loop -- this is the major purpose of loops -- but a script cannot contain a loop.

 

In This Chapter:

The DO Loop Command: The DO Command, Single Line Loops, Infinite Loops, The MAXLOOP Command, Showing Loop Pass Results, Result File hy.

Loop Index, Start and End Lines: The Loop Index I, Start and End Lines, The Loop Timer TIME, ISLOOP -- Is it a Loop? PASSES -- How Many Loop Passes?

Exiting a Loop: Exit Conditions, ENDLOOP and ABORT Commands, The $loop Variable.

REPEAT and REPEAT Loops: The REPEAT Command, REPEAT n Loops.

 

Next Chapter: Loop and Script Examples

 

Home