lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Wed, Jun 21, 2006 at 12:12:41PM +1200, Richard Simes wrote:
> the standard way to do this is:
> >= 5-3
> 2
> >function two() return 2 end
> >=two()
> 2
> Is that too "special" ?

It looks way better than return, thats for sure!

But wait... looking a lua.c, I see that it appears to be using "=" as a
short hand for "put return at the start of this line".

Ok, so maybe prepending return really is the best way.