lua-users home
lua-l archive

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


On Wed, Nov 2, 2011 at 22:48, Patrick Rapin <toupie300@gmail.com> wrote:
> You can normally split lines anywhere (except inside an identifier),
> so your example:
>
>> command(
>>  parameter1,
>>  parameter2,
>>  parameter3 )
>
> is perfectly valid.

%-)
Thanks :-)

I assumed that I don't see the wood for trees here.



> There is just one exception in Lua 5.1, which has been removed in 5.2,
> as showed by "Petite Abeille".
> It is that with the current 5.1 version, you cannot place a line
> return between the function name and the opening parenthesis.

I am using 5.1, but I can well live with this limitation.

Daniel