Re: line continuation

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hello Bernie,

>Rob why can't you implement a line continuation token.
>   You could use something like this -\ which would treat everything
>   after it as comments and continue to parse on the next line.
>
>   Then we would not have to write
>
>   "the first line"&  -- comment 1
>   "the second line"& -- comment 2
>   "the third line"&  -- comment 3
>   "the forth line"
>
>   But this when intializing a large sequence of text
>
>   "the first line   -\  comment 1
>   the second line   -\  comment 2
>   the third line    -\  comment 3
>   the forth line"
>
>Bernie

That's an interesting idea but I can't see that it has much
advantage over the current way. Is -\ really easier to type
than "& ? They're both just two characters, or is it the
built-in comment that you like better? I personally would like
the ability to do this:

"the first line
the second line -- this is part of the string
the third line" -- this is a comment

of course you couldn't tab to indent or add spaces without
messing with the string but it would be a handy short-hand
at times.

later,
Lewis Townsend

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu