| PWR | Index Level | READ |
| Syntax | [\|'|"]string[\|'|"] |
| Category | BASIC |
| Type | Reserved Character |
| Description |
marks the beginning or ending of a literal string in FlashBASIC.
Generally, it does not matter which types of quotes are used on literals (strings). Some instructions, such as "heading" and "footing", impose certain restrictions on their use. If a literal string is to contain a single-quote, it must be enclosed within double-quotes (") or backslashes (\). |
| Options | |
| See Also | conv-case CASING \ string expressions FOOTING ' " |
| Example |
if answer = 'quit' then stop
In this example, single quotes are used to determine if the contents of "ANSWER" contains the literal string, "QUIT". heading "'lc'Pick Systems'l'" This example illustrates the use of two types of quotes, which happen to be enforced by the "heading" statement. see "heading". execute \list entity heading "'lc'Entity'l'"\ Access sentences enforce the rule that the "heading" string must be enclosed in double quotes. "heading" options must be enclosed in single-quotes ('). The whole string is passed as a literal by enclosing it in backslashes (\). |
| Warnings | |
| Compatibility | D3 7.0 AP R83 |
| PWR | Index Level | READ |