|
2014-05-28 17:23 GMT+02:00 Marc Balmer <marc@msys.ch>:
If you know how many arguments you can use, that>
> 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) ?
is perfect. Luiz's point is that if you don't, your easiest
recourse is a table constructor.