pTAL Reference Manual (H06.08+)

Language Elements
HP pTAL Reference Manual523746-006
2-2
Character Set
Character Set
pTAL supports the complete ASCII character set, which includes:
Uppercase and lowercase alphabetic characters (A through Z.)
Numeric characters (0 through 9)
Special characters
Keywords
Keywords have predefined meanings to the compiler when used as shown in the
syntax diagrams in this manual.
Table 2-1. Special Characters
Character Description Character Description
! Exclamation point " Quotation mark
$ Dollar sign % Percent sign
& Ampersand ' Apostrophe
( Opening parenthesis ) Closing parenthesis
* Asterisk + Plus
, Comma - Hyphen (minus)
. Period (decimal point) / Right slash
: Colon ; Semicolon
< Less than = Equals
> Greater than ? Question mark
@ Commercial at sign [ Opening bracket
\ Back slash ] Closing bracket
^ Circumflex _ Underscore
` Grave accent { Opening brace
| Vertical line } Closing brace
~ Tilde
Keyword Type Description
Reserved Reserved by the compiler. Do not use reserved keywords (shown in
Table 2-2
on page 2-3) for your identifiers.
Nonreserved You can use nonreserved keywords anywhere identifiers are allowed
except as noted in the Restrictions column of Ta bl e 2- 3
on page 2-3.