In an earlier discussion here, I found out about
Compute """"%string. (* string with a single character of double quote *)
It looks as if a double quote was 'escaped' or something. What is really happening here?
And are there other characters which can be escaped like this?
Two double quotes is how you escape a double quote in a string, and apart from that all other bytes are read literally until the closing double quote.
Okay, so a
"" stands for a single double quote and we can write
Julin S has marked this topic as resolved.
why use Compute?
Just as a way to make the string appear in the info output. Is there another way?
also you probably don't need %string
Last updated: Oct 04 2023 at 21:01 UTC