Literals
A literal is a constant value. A literal may be a number or a text string.
The rules for using numeric literals are:
- A numeric literal is in integer or decimal format and can be signed.
- A comma separator should not be included in a numeric literal.
- A numeric literal cannot be greater than 254 digits.
The rules for using text literals are:
- A text literal is enclosed in double quotes.
- A double-quote included in a text literal is released by another double quote.
Literals are encoded in UTF-16 (Unicode).
The following are some examples of literals:
"This is a text literal"
"ABC Company"
"Some ""quoted data"" to show use of a double double-quote."
1.23
-9
1045
Carriage return/line feeds cannot be within a quoted string. To use a carriage return/line feed the string must be broken into two strings with <CR><LF> between them. For example:
="username=?????" + "<CR><LF>" + "&password=?????"
will place the output username and password information on separate lines.
<CR><LF> must be within quotation marks.