Re: [Vala] [Genie] multi-line structs

On Mon, 4 Jan 2010 08:53:48 -0500, 
Arc Riley <arcriley ubuntu com> wrote:

Yes, except I'd prefer not to insert a linefeed into the string at
the line break

in C it would be:
printf("part 1 "
       "part 2");

If you use + to separate two in-line strings, will Vala perform a
runtime concatenation, or do it at compile-time?  I very much like being
able to split a long string over several lines like that.


Whether the weather is good,
or whether the weather is bad;
Whether the wether even knows the weather,
and whether the wether even cares.

Debian/unstable (LC#384816) on 2.6.30-i686 2009 (up 7 days, 5:11)

Attachment: signature.asc
Description: PGP signature

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