FOR-NEXT Loop Scripts


A FOR-NEXT loop is used to perform a function (or set of functions) within a script several times during a single execution of a script.
The general format of the FOR-NEXT loop is as follows:

**********************************************

FOR AnalogTag = start_expression TO end_expression [STEP change_expression]
...statements...
NEXT;

***********************************************

FOR i = 1 to 100

TankLevel = TankLevel + 1;

NEXT;


[Under Development]

No comments:

Post a Comment