lua-users home
lua-l archive

Re: Arguments by reference?

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


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.

AltStyle によって変換されたページ (->オリジナル) /