basic.quotes Reserved Character/BASIC Program

basic.quotes

Command basic.quotes Reserved Character/BASIC Program
Applicable release versions: AP, R83
Category BASIC Program (486)
Description marks the beginning or ending of a literal string in Pick/BASIC.

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 ().
Syntax [|'|"]string[|'|"]
Options
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 ().
Purpose
Related tcl.conv-case
basic.casing
basic.
string.expressions
basic.footing
basic.'
basic."