Multi Line String

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
zscriven
Posts:21
Joined: Tue Jul 05, 2016 11:03 pm

Multi Line String

Post by zscriven »

Is it possible to create a multi line string in the control language? If so what is the syntax?

I am working on some very long queries that would be nice to break onto multiple lines. Right now I am using string addition to achieve this but it's getting pretty horrendous

Thanks! B)

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Multi Line String

Post by mkoller »

Yes, like in ANSI-C:

string text = "abcd"
"efgh"
"jklm";

Just use separate string constants without the "+" inbetween. The parser creates one long string out of this.

2 posts • Page 1 of 1