lua-users home
lua-l archive

Re: Passing arguments to a chunk?

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


Am 28.05.2014 um 12:52 schrieb Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
>> local args = ...
> 
> This only gets the first argument.
> To get them all, so that you can loop over them, use
> 	local arg={...}
> 
So
a, b, c = ...
will not work for pcall(script, 1, 3, 3) ?

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