for element in array do element.do_stuff end
a = ["One", "Two", "Three", "Four"]; b = 0 while b<a.length do puts a[b] b+=1 end
while $i < $num do puts("Inside the loop i = #$i" ) $i +=1 end