[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Arguments by reference?
- From: Boyko Bantchev <boykobb@...>
- Date: Thu, 1 Sep 2005 16:11:45 +0300
On 9/1/05, Lisa Parratt <lisa@thecommune.org.uk> wrote:
> Jose Marin wrote:
> > It's possible to pass an argument by reference to a
> > function in Lua?
>
> Not really - use the multiple return value facility to approximate out
> parameters.
... assuming `simple' values are meant. Because tables, e.g.,
_are_ passed by reference.