System Debug Reference Manual (32650-90888)

Chapter 2 29
User Interface
Operators
Long pointer literals of type LPTR are entered as a pair of (32-bit) numbers separated by a
dot, forming the so-called dotted pair. Long pointer literals are entered in the form
sid.offset. When the offset part exceeds 32 bits, the type of the literal becomes EADDR.
Examples are:
$c0002040 short pointer literal
3f.204c long pointer literal (SID=3f, offset=204c)
String Literals
String literals are formed by enclosing an arbitrary sequence of ASCII characters within
either single quotes (') or double quotes (").
The same type of quote used to start the string (single or double) must be used to
terminate it. For example, 'abc' and "abc" are valid string literals, but 'abc" is not.
A string which is defined with single quotes can contain one or more double quotes within
the string body, and vice versa. For example, "don't fret" and "SEG'ONE" are valid
strings.
In order to include the same quote character that is used as the string delimiter within the
string itself, that quote character should appear in duplicate within the string. For
example, the apostrophe in'don&'&'t'comes out as don't.
Examples of string literals are:
'Rufus T. Firefly'
"OB'"
'xltypes:pib_type.parent'
'The sun isn''t shining and I''m feeling so sad.'
Regular Expression String Literals
A special class of string literals called regular expressions is formed by enclosing an
arbitrary sequence of characters with the backquote character (`). Refer to appendix A for
a discussion of how patterns and regular express can be constructed for use in pattern
matching.
Operators
An operator denotes an operation to be performed on existing values to create a new value
of a particular type.