This seems silly

Blitz3D Forums/Blitz3D Programming/This seems silly

I used Goto in that RockOut game -- this kinda thing:

#LABEL ' Reset game...

lives = 5
shields = 100

Repeat

    Cls

    ' BLAH BLAH BLAH...

    If energy < 0 Then Goto LABEL

    Flip

Until KeyHit (KEY_ESCAPE)



If XXX = 0 isn't gonna do a damn thing here! Yes, it 'should' be done in other ways, but it's a piddly little game and this works nicely... and that's what matters.

Having the option to be a lazy programmer is a key part of Blitz as far as I'm concerned!