Re: Back quotes for raw/literal strings

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

don cole wrote:
> 
> Terry Constant wrote:
> > 
> > I cannot find where Euphoria has raw/literal/non-escaped strings.
> > If I missed the info, could someone point me in the correct direction?
> > If not, what is the chance of having back quotes, "`", delimit
> > raw/non-escaped strings.
> > 
> > For example, `c:\Program Files\myfile.txt` would be 
> > the same as  "c:\\Program Files\\myfile.txt" or
> >              `He said, "Hello" to her.` would be 
> > the same as  "He said, \"Hello\" to her."
> > 
> > Again, if this topic has been discussed or is documented, could someone
> > point me to it?
> > 
> > Terry Constant
> > 
> 
> I may not know what your are talking about.
>  However I belived it is discussed in the
> regular help file for Euphoria under printf (also see puts).
> 
> doncole 
> SF
> 


Hi in euphoria " " delimits a string, and ' ' delimits a character (' '
delimits a string in delphi or pascal though)

so "This is a string of text\n" is a string of text with a newline character
at the end

and '\n' is just the newline character

Chris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu