Re: goto and label

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu