Thanks, so that would mean I should use exit before a return. The reason for my question is that, in my current project, I'm exiting a lot of loops, mostly in this form:
Say, when testing all vertices of a mesh. So I wondered if it's possible to just call return, without calling exit. In other versions of basic (don't remember which one), this would give problems with the stack memory.
test = 0 For x = 0 to 100 for y = 0 to 100 if p[x, y] = 0 then test = 1: exit next if test = 1 then exit next if test = 1 then return
Say, when testing all vertices of a mesh. So I wondered if it's possible to just call return, without calling exit. In other versions of basic (don't remember which one), this would give problems with the stack memory.