The only two structures I avoid goto in are WHILE and SWITCH
NEVER use goto to exit a WHILE or SWITCH
ON THE OTHER HAND
If you could not say:
if something = true then
goto lblname
endif
You would be in a terrible state trying to branch anywhere!
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dan Goldberg
Sent: Wednesday, August 14, 2013 5:46 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: using goto statement in while loops
Thanks for the info. How about if-then statements? Does that apply as well?
if something = true then
goto lblname
endif
label lblname
Dan
-----Original Message-----
From: Mike Byerley
Sent: Wednesday, August 14, 2013 3:35 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: using goto statement in while loops
As long as the GoTo LabelName is inside the While Endwh
----- Original Message -----
From: "Dan Goldberg" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Wednesday, August 14, 2013 6:18 PM
Subject: [RBASE-L] - using goto statement in while loops
Is it okay to use goto statements inside of while loops?
The reason I am asking is I am having one inside a form eep which kills the
eep when it runs that line.
Dan Goldberg