Re: SVN2331 INFO.E has illlegal characters in it.

new topic     » goto parent     » topic index » view thread      » older message » newer message
bernie said...

I think it would have made more sense to just have a continuation character then you could use comments.

Normally continuation characters will continue the string with nothing after the continuation character, so for example

sequence email = " \ 
Hello World, \ 
\ 
What are you doing?" 
 
puts(1, email) 

would print "Hello World,What are you doing?" not

Hello World, 
 
What are you doing? 

Also, the multi-line strings are also raw strings, meaning there are no escape characters. If you write:

sequence email = `Hello\tWorld` 
puts(1, email) 

You will get exactly that

Hello\tWorld 

Thus, it's nice for different operations. If you wish to document a string mid way, we can do that already:

sequence abc = "" & -- header 
    "John Doe had a dog." & -- sentence 1 
    "Jane Doe had a cat." & -- sentence 2 
    "John's dog chased Jane's cat all the time" 

Jeremy

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

Search



Quick Links

User menu

Not signed in.

Misc Menu