literal

<< Click to Display Table of Contents >>

Navigation:  User guide > Constants >

literal

This represents a string of characters enclosed in single quotes. Up to 255 characters can be used, including blanks.

The number of characters should be the same as the length of the field or cvar (or substring) being tested or defined unless RCP SHORTCHARTEST is used.

If a col is being tested or defined, it should be a single character only.

IMPORTANT: V and X codes in a col or field are represented by '&' and '-' respectively in a literal. The literal 'V' represents a 0 and 5 multipunch combination. The literal 'X' represents a 0 and 7 multipunch combination.

A number of special characters have a special meaning in text. These include ([*';\!). In text you should precede these characters with a grave character, for example use '`[' and '`''.

Examples of literals:

'J'

' ab '

'0'

'-123'

'&&&'

'OX10 0QU'