Re: goto and label
- Posted by ChrisB (moderator) Jun 29, 2022
- 800 views
Hi
Lookks like you're jumping outside the scope of the procedure r(). goto's should should really only be restricted to use within a procedure or function (or called and labelled outside the scope of either, like your 'for' loop)
It's permissable (I think) to got from inside a for loop, but very bad practice. exit instead.
Cheers
Chris