[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Procedures



Is it not true that the BREAK command only works in conjunction with either
EVALUATE or the WHILE verbs?
If he is using several IF statements, then I believe the GOTO is the only way to
get to the end of a procedure.
I have made use of the GOTO and have never had any problems with it.






Sam Spritzer <sspritzer@GW.CTG.COM> on 07/12/2000 04:47:29 PM

Please respond to sqr-users@list.iex.net

To:   SQR-USERS@list.iex.net
cc:    (bcc: Rick Creel/IT/Aon Consulting)

Subject:  Re: Procedures



You can use BREAK.  Speaking of multiple IF statements, have you given any
thought to EVALUATE?
Sam

>>> DFisher@CO.NEW-CASTLE.DE.US 07/12/00 16:39 PM >>>
Is there any command you can use to leave a procedure before reaching the
end-procedure command. For example say there are multiple IF statements in a
procedure and as soon as an IF statement executes you want to exit the procedure
so that no more IF statements will be processed. Is there some form of EXIT
command in SQR you can use to do this ?