06f1_LoopsReview

Basic Loop

the 3 conditions of variable 'i': '$i', '$i <=', and '$i++' that shuts off the calculation

action
action
action
action
action
action
action
action
action
action
action



Basic Loop with Array

aarvaark
beer
chiken
doogie



try this again

alpha
beta
chundr
delta
epsilon



and again for drill

alvah
beulah
cheenah
dinah
eileen




Counting with Loop - using 'cap' code --jawol Meinkapi --

plus Meinkapi sposed to have one subtracted from itself. UNLESS you index array to 1 as in first example here, in which case you can skip the 'minus 1' line. But, 2nd example, indexed to 0, you must have Meinkapi equal itself minus one. Crazy, Pop.

alvahelement
beulahelement
cheenahelement
dinahelement
eileenelement



indexed to Zero:

alvahelement
beulahelement
cheenahelement
dinahelement
eileenelement



Cor, it needs drillin'.

alpha
bums
cheetah
dingo
elbe

Cor, it needs drillin' again.

one element
doo element
free element
door element
dive element
dix element