Re: [Vala] [Genie] multi-line structs
- From: Jamie McCracken <jamie mccrack googlemail com>
- To: Arc Riley <arcriley ubuntu com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] [Genie] multi-line structs
- Date: Mon, 04 Jan 2010 08:53:33 -0500
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]