TGAL Manual
TGAL Procedures
Tailoring TGAL
060865 Tandem Computers Incorporated 4–11
TRIGGER Procedure The TRIGGER procedure sets the standard trigger character. The TRIGGER command
overrides this procedure on a document by document basis. The trigger character can
be any character except a blank or a quotation mark. In the TGALUPS file, this
procedure is:
PROC TRIGGER(CHAR); !
STRING .CHAR; ! set this trigger character !
BEGIN ! !
CHAR := "|"; ! set it to "\" by default !
END; ! end of trigger procedure !
The exclamation points mark off the comments in the program. You change only the
trigger character, marked with an arrow; for example:
PROC TRIGGER(CHAR); !
STRING .CHAR; ! set this trigger character !
BEGIN ! !
CHAR := "%"; ! set it to "%" by default !
END; ! end of trigger procedure !