Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

Quote

Format: "x"

Arguments: x Any alphanumeric string

Returns: (text) x

Description: Quotation marks are used to distinguish a portion of text in a command as a string as opposed to an expression to be evaluated. For example, the command say(2+3) will cause 5 to be displayed while the command say("2+3") will display the text string 2+3.

All ASCII and extended ASCII codes between 1 and 255 can be inserted into any text string using the backslash character (\) followed by the number of the desired code. To indicate that a literal backslash is to be inserted as opposed to a code, a double backslash (\\) must be used.

A set of special characters can be used in place of a numeric code for inserting formatting characters. For example, \n will cause the code to start a new line (ASCII 10) to be inserted. All recognized codes are listed in the table below. If the backslash is followed by an unrecognized character, the backslash and the following character are ignored.

Sequence Character Represented

\b Backspace

\t Tab

\r Carriage return

\n Line feed

\f Form feed

\" Quote mark

\\ Backslash

\nnn Any character with numeric octal code nnn.

\0xnn Any character with numeric hexadecimal code nn.

\+ Node reference

Examples: "She said \"yea\" = Shee said "yea"

"First line\nSecond line" = First line
Second line

"c:\\autoexec.bat" = c:\autoexec.bat

See Also: tostring, eval, Add

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend