Quotations

You enter a string literal by enclosing text in either the single or double quote character. For example:

"My text string"
’My text string’
"2.7189"

You can use a single or double quote character to start a string; but you must end the string with the same character.

If you use a single quote character to start a string, DScript converts it to a double quote as DScript stores definitions you enter in compiled form and then decompiles the definitions for display.

To enter a quote mark inside a string, precede the quote mark with a backslash character (). For example:

"He said, \"Hi\""

The quote mark is recognized as a simple character rather than the end of the text string.

To place a backslash character inside as a text string, type two backslash characters. For example, to enter the string:

C:\Program Files\Vanguard

type:

"C:\\Program Files\\Vanguard"

See Text Strings.