Restored from previous forum. Originally posted by Justin.
Since PB does not have a break or continue command i use gotos to exit loops, it does not crash, but it is legal to do it in PB?
ex:
repeat
.
if x=y then goto skip
.
.
until ...
skip:
same with for/next, i need to do it because i don't want to process the functions under the if.
Breaking loops
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm