STRICT
LOCAL dummy
GOTO skipit
LOCAL alien
#skipit
alien=1 <<<<<<<<error, you do not definded this variable
This is a problem for blitzax. C++ compiler can handle this, but not blitzmax.
I think, GOTO must exist always - if you use Strict or not... Coding without goto is a problem for me. With Goto you can very elegant solve some problems.
Sample:
WHILE dummy
#again
FOR i=...
FOR j=...
REPEAT
IF xyz=1 THEN goto again
FOREVER
NEXT
NEXT
WEND
or should i create every time a new function, when i have this code???
LOCAL dummy
GOTO skipit
LOCAL alien
#skipit
alien=1 <<<<<<<<error, you do not definded this variable
This is a problem for blitzax. C++ compiler can handle this, but not blitzmax.
I think, GOTO must exist always - if you use Strict or not... Coding without goto is a problem for me. With Goto you can very elegant solve some problems.
Sample:
WHILE dummy
#again
FOR i=...
FOR j=...
REPEAT
IF xyz=1 THEN goto again
FOREVER
NEXT
NEXT
WEND
or should i create every time a new function, when i have this code???