5 dectpu symbols, Table 4–4 dectpu symbols – Compaq DEC Text Processing Utility AA-PWCBD-TE User Manual
Page 70
Lexical Elements of the DEC Text Processing Utility Language
4.3 Character Sets
For example:
GOLD 27 GOLD Specins
4.3.5 DECTPU Symbols
Certain symbols have special meanings in DECTPU. You can use them as
statement delimiters, operators, or other syntactic elements. Table 4–4 lists the
DECTPU symbols and their functions.
Table 4–4 DECTPU Symbols
Name
Symbol
DECTPU Function
Apostrophe
’
Delimits a string
Assignment operator
:=
Assigns a value to a variable
At sign
@
Partial pattern assignment operator
Left brace
{
Opens an array element index expression
Close parenthesis
)
Ends parameter list, expression, procedure call,
argument list, or array element index
Comma
,
Separates parameters
Exclamation point
!
Begins comment
Dollar sign
$
Indicates a variable, constant, keyword, or
procedure name that is reserved to Compaq
Right brace
}
Closes array element index expression
Equal sign
=
Relational operator
Greater than sign
>
Relational operator
Greater than or equal to
sign
>=
Relational operator
Slash
/
Integer division operator
Asterisk
*
Integer multiplication operator
Left bracket
[
Begins case label
Less than sign
<
Relational operator
Less than or equal to
sign
<=
Relational operator
Minus sign
–
Subtraction operator
Not equal sign
<>
Relational operator
Vertical bar
|
Pattern alternation operator
Open parenthesis
(
Begins parameter list, expression, argument list, or
array element index
Ampersand
&
Pattern linkage operator
Plus sign
+
String concatenation operator, pattern
concatenation operator, integer addition operator
Quotation mark
"
Delimits string
Right bracket
]
Ends case label
Semicolon
;
Separates language statements
Underscore
_
Separates words in identifiers
4–4 Lexical Elements of the DEC Text Processing Utility Language