[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua code lines spanning several lines
- From: Patrick Rapin <toupie300@...>
- Date: Wed, 2 Nov 2011 22:48:26 +0100
You can normally split lines anywhere (except inside an identifier),
so your example:
> command(
> parameter1,
> parameter2,
> parameter3 )
is perfectly valid.
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.