Terry E Snyder Jr
&  
RemoteWebs.com  

Computer & Web Solutions

Support, Design, and more...
| | |
December 23rd, 2024 1:13:37 PM

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

Recursion

Google
 
Web www.terryesnyderjr.com
www.remotewebs.com

Page Updated on August 23, 2020 22:47

www.terryesnyderjr.com Copyright 2000-2024©