Literal Strings

<< Click to Display Table of Contents >>

Navigation:  Problem Descriptor Reference > The Elements of a Descriptor >

Literal Strings

Previous pageReturn to chapter overviewNext page

Literal strings are used in problem descriptors to provide optional user defined labels, which will appear on softcopy and hardcopy outputs.  

 

The label that results from a literal string is reproduced on the output exactly (including case) as entered in the corresponding literal string.  

 

Literal strings are formed by enclosing the desired label in either single or double quote marks .  Literal strings that begin with a double quote mark must end in a double quote mark, and literal strings that begin with a single quote mark must end in a single quote mark.  

 

A literal string may consist of any combination of alphanumeric characters, separators, reserved words, and/or symbols including quote marks, provided only that strings that begin with a double quote mark may contain only single quote marks and strings that begin with a single quote mark may contain only double quote marks.

 

Example:

TITLE "This is a literal 'string' used as a problem title"