4 declarations and statements – Compaq DEC Text Processing Utility AA-PWCBD-TE User Manual
Page 79
Lexical Elements of the DEC Text Processing Utility Language
4.9 Reserved Words
•
TPU$K_HELP_MODIFIED
•
TPU$K_MESSAGE_FACILITY
•
TPU$K_MESSAGE_ID
•
TPU$K_MESSAGE_SEVERITY
•
TPU$K_MESSAGE_TEXT
•
TPU$K_SEARCH_CASE
•
TPU$K_SEARCH_DIACRITICAL
•
TPU$K_SHIFT_MODIFIED
•
TPU$K_UNSPECIFIED
•
TRUE
4.9.4 Declarations and Statements
A DECTPU program can consist of a sequence of declarations and statements.
These declarations and statements control the action performed in a procedure or
a program. The following reserved words are the language elements that when
combined properly make up the declarations and statements of DECTPU:
•
Module declaration
MODULE
IDENT
ENDMODULE
•
Procedure declaration
PROCEDURE
ENDPROCEDURE
•
Repetitive statement
LOOP
EXITIF
ENDLOOP
•
Conditional statement
IF
THEN
ELSE
ENDIF
•
Case statement
CASE
FROM
TO
INRANGE
OUTRANGE
Lexical Elements of the DEC Text Processing Utility Language 4–13