Bad programming style

Blitz3D Forums/Blitz3D Programming/Bad programming style

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

For i=0 To 1234
	For j=0 To 10
		If item(i) = True
			do this
		Else
			item(i)=-1
			Exit ; don't loop through any more and exit this loop
		EndIf 
	Next
Next

-verses-

For i=0 To 1234
	For j=0 To 10
		If item(i) = True
			do this
		Else
			item(i)=-1
			Goto myjump ; don't loop through any more and exit this loop
		EndIf
	Next
	.myjump:
Next