On 4 August 2010 22:22, Daniel Carrera dcarrera@gmail.com wrote:
On Wed, Aug 4, 2010 at 1:28 PM, Erik de Castro Lopo mle+tools@mega-nerd.com wrote:
In C and C++ (and probably Java) you can do:
char * mult_line = "the first line\n" "second line\n" "third " "line!" ;
Really? Looking at that, it feels... wrong. In Perl, PHP, Python, JavaScript, Ruby and Lua you would have to add something to concatenate these strings together.
No Erik is right, strings separated by whitespace only, are catenated at COMPILE time. Catenating strings at runtime does need an operator.
Cheers Lex
-- Intolerant people should be shot. _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany