Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
exit repeat loop
#1
Will there be any problems if a program exits a repeat loop without using break? for example

;start
rep
x=x+1
out x
if x=5
goto start
;end

i know this sample makes no sense, it's just an example of what I mean by exiting a repeat loop.
#2
No problems.


Forum Jump:


Users browsing this thread: 1 Guest(s)