^.^---------------------------------------------------------------------------------------------------
pencil "........................................................"
pencil "010 010-loop.zoe"
^.^ 010 010-loop.zoe
oh look !
pencil "---MAIN KIND OF LOOP -- Difficult to follow --"
pencil "1st Kind of Loop. Difficult to follow but controlled from Line-1"
I define trackingVar = 0
I define printingValue = 0
zoe_loop_begin loopy zoe_inthis <--[ trackingVar zoe_until zoe_same trackingVar {.} 3
pencil printingValue
printingValue <-=- z+ trackingVar {.} 1
^.^pencil "but Doctor..."
zoe_loop_end loopy
pencil "--------"
trackingVar <-=- 2
zoe_loop_begin loopy zoe_inthis <--[ trackingVar zoe_until zoe_same trackingVar {.} 7
pencil trackingVar
zoe_loop_end loopy
I see !
^.^---------------------------------------------------------------------------------------------------
pencil "........................................................"
pencil "011 011-loop2.zoe"
^.^ 011 011-loop2.zoe
oh look !
pencil "---ANOTHER KIND OF LOOP -- Easier-to-Understand --"
pencil "2nd Kind of Loop. Easier to understan. Read this + Next together."
I define i = 0
I define j = 0
zoe_loop_begin loopy
pencil i
zoe_same i {.} 4
zoe_match?
zoe_pass
zoe_exit
zoe_fail
i <-=- z+ i {.} 1
^.^ pencil "----ABOUT-TO-LOOP---------------"
^.^ i <-=- z+ i {.} 1
zoe_oh_I_see
zoe_loop_end loopy
I see !
^.^---------------------------------------------------------------------------------------------------
pencil "........................................................"
pencil "012-loop3.zoe"
^.^ 012-loop3.zoe
oh look !
I define trackingVar4 = 0
pencil "---YET ANOTHER KIND OF LOOP -- Easier-to-Understand --"
pencil "3rd Kind of Loop. Also controlled from inside. Read this + Previous together."
zoe_loop_begin loop_label
pencil trackingVar4
trackingVar4 <-=- z+ trackingVar4 {.} 1
zoe_same trackingVar4 {.} 7
zoe_match?
^.^ NEXT: Use BIGGROF: https://gist.github.com/sharmaeklavya2/8a0e2581baf969be0f64
zoe_pass
pencil "You exit!"
zoe_exit
zoe_oh_I_see
zoe_loop_end loop_label
I see !
;