Bad programming style

Blitz3D Forums/Blitz3D Programming/Bad programming style

The best use of a goto is exiting nested loops. The only other way is to set a flag, exit, check the flag, exit, check the flag, exit..... And keep in mind every single outer loop it has to check the flag every iteration. Plus its alot longer and more confusing. Course, if it leaves behind stack stuff it'd be bad but I highly doubt that. A next statement should know where to return to because it'll return to the same place every time.