On 4 August 2010 22:22, Daniel Carrera <[email protected]> wrote:
> On Wed, Aug 4, 2010 at 1:28 PM, Erik de Castro Lopo
> <[email protected]> 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
> [email protected]
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>
_______________________________________________
Geany mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany

Reply via email to