[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua code lines spanning several lines
- From: Daniel Hertrich <dhertrich@...>
- Date: Thu, 3 Nov 2011 09:10:19 +0100
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