Jumping out of a loop

Blitz3D Forums/Blitz3D Beginners Area/Jumping out of a loop

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.

Jumping out of a loop using "exit" shouldn't be a problem as it is was meant to be used like that. Maybe another thing is calling functions recursively (calling one function from within another function and so on and so on), as this would slowly fill up the stack (the place where the computer remembers the status of the function you just left so that it still knows everything when you return). As long as you just keep calling functions and never return (by means of the "return" keyword or just by reaching the end of the function), this memory will not be released.