lua-users home
lua-l archive

Lua intepreter does not print results for multiline input

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


In lua 5.3 intepreter:
> table.unpack{1,2,3}
1 2 3
> table.unpack{
>> 1,2,3
>> }
>
The intepreter does not print results for the second input, which has multiple lines.
However, adding the prefix '=' works fine:
> =table.unpack{
>> 1,2,3
>> }
1 2 3

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