[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: goto
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 20 Jul 1999 10:24:27 -0300 (EST)
>From lua-l@tecgraf.puc-rio.br Tue Jul 20 06:52:52 1999
>From: "Samson, Lyndon (GEIS)" <Lyndon.Samson@geis.ge.com>
> It's unfortunate that 'return' has to be the last statement in a
>function, it would be quite useful in these circumstances if it
> could be used anywhere.
A 'return' has only to be the last statement in a block.
You can always write
...
do
return
end
...
--lhf