[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: concatenation with nested functions
- From: Romulo <romuloab@...>
- Date: Thu, 11 Feb 2010 16:55:55 -0200
On Thu, Feb 11, 2010 at 4:49 PM, Etan Reisner
<deryni@unreliablesource.net> wrote:
> function one()
> return [[long long string]] ..
> two() ..
> [[more long long string]]
> end
Perhaps this should be:
function one()
return( [[long long string]] .. two() .. [[more long long string]] )
end
of
function one()
return string.format( '%s%s%s',
[[long long string]], two(), [[more long long string]]
)
end
--rb