Define string on multiple lines

BlitzMax Forums/BlitzMax Beginners Area/Define string on multiple lines

TwoCorin517(Posted 2010) [#1]
How do you define strings on multiple lines? In C++ I would do it like:
std::string x = "Hello "
                        "World";

Is there a way I can do a similar effect in BMax?


Brucey(Posted 2010) [#2]
You can use :
Local x:String = "Hello " + ..
                        "World"

(note the magic little dots which extend the line :-)


H&K(Posted 2010) [#3]
Deleted


TwoCorin517(Posted 2010) [#4]
Thank you very much.


Czar Flavius(Posted 2010) [#5]
Not quite the same but you can also say
Local x:String = "Hello "
x :+ "World"