Loops

Home

 

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

 

In This Chapter:

Two Types of Loops: DO and REPEAT Loops, GOTO Loops.

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 Script 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.

GOTO Loops: GOTO Loops, Exiting Goto Loops, GOTO Loop Example: Next Prime Number, Timeout Emergency Exit.

 

Next Chapter: Loop and Script Examples

 

Home