[Geany] Code folding doesn't work right.

Lex Trotman elextr at xxxxx
Wed Aug 4 13:20:05 UTC 2010


On 4 August 2010 22:22, Daniel Carrera <dcarrera at gmail.com> wrote:
> On Wed, Aug 4, 2010 at 1:28 PM, Erik de Castro Lopo
> <mle+tools at 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 at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>



More information about the Users mailing list