kmcintyre
 Veteran
  Posts: 132
Joined: 9/12/2007
Location: Valley Center, CA
User Profile |
dim iPigs as integer
iPigs = 5
Do While iPigs > 0
if iPigs = iPigsFlyingLimit then
end Do
else
iPigs = iPigs - 1
end if
Loop
Why does the OL compiler barf on this? The End Do
statement appears to be the issue. But why?
Is there another way to break out of a Do loop?
Also, End While doesn't seem to be supported.
help with iteration please...
|