[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Procedures
On Wed, 12 Jul 2000 Rick_Creel@AONCONS.COM wrote:
> If he is using several IF statements, then I believe the GOTO is the
> only way to get to the end of a procedure.
Actually, if statements can be nested. So...
begin-procedure example
if #w
(misc. lines of code)
else
if #x
(misc. lines of code)
else
if #y
(misc. lines of code)
else
(misc. lines of code)
end-if
end-if
end-if
end-procedure example
...is perfectly workable.
-----------------------------------------------------------------------
Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/
donm@ontko.com | "In the beginning, there was nothing, which exploded"