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



On Mon, 2010-01-04 at 08:43 -0500, Arc Riley wrote:
+1 for the Python way.

The problem of ignoring newlines following commas is there may be a
space after them.


spaces are ignored in any event but I will look at the python way 

On a somewhat related topic; is there currently a method to split a
string over many lines, to prevent it from exceeding a column width in
the source code but compiling as one string?

try using """ for multi-line strings

EG 

var s = """this is a multi 
line string"""

jamie




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