"goto cannot be used in strict mode"?

BlitzMax Forums/BlitzMax Programming/"goto cannot be used in strict mode"?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

continue can be used to return to top of a loop. use it with exit.


For X=1 to 640

if Line(X)=0 Continue
For Y=1 to 480

  IF Pix(X,Y)=0 Continue 'skips code below
  Pix(X,Y)=Pix(X,Y)*whatever
  If Pix(X,Y)=Done Exit

Next

Next


I've not need goto since using continue..sometimes you have to structure your code slighty differently but it's better than nothing.