Terry E Snyder Jr

Computer & Web Solutions

Support, Design, and more...
| | |
April 10th, 2020 7:16:50 AM

Flow Control

FOR Loop

The FOR look is best used when you are going through a counting or given amount of loops.

Here is the general form of a FOR loop.  You can use the STEP optionally with gives you some flexibility if you need to change the increment of the loop or skip a given amount of items.  Default STEP value is 1.

FOR loop index = initial value TO test value [STEP increment]
    : :
    : : (Body of loop)
    : :
NEXT [loop index]


Do Loop While

Do Loop Until

Do While Loop

Do Until Loop


Web www.terryesnyderjr.com

Page Updated on October 1, 2019 21:59

www.terryesnyderjr.com Copyright 2000-2020©