For Next Loops

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

No Continue skip the rest of the loop and go to the next element.

For k=0 to 10
if k=2
Continue
EndIf

Debug k
Next

It will skip the '2' output. Anyway, it's very C like :)

Fred - AlphaSND
Post Reply