TEMPLATE Procedure: Creating Markup Language Tagsets

TRIGGER Statement

Executes an event.
Tip: The TRIGGER statement explicitly requests a specific action of an event.
Creating a New Tagset

Executing Events Using the TRIGGER= Statement

Indenting Output

Using Different Styles for Events

Syntax

Without Arguments

If a triggered event does not have start or finish sections, then it runs the current event statements.

Required Argument

event-name
specifies the name of the event.

Optional Arguments

START
specifies the start section of an event.
Interaction:If the program is in the start section of an event, then any event that is triggered runs its start section.
FINISH
specifies the finish section of an event.
Interaction:If the program is in the finish section of an event, then any event that is triggered runs its finish section.
event-statement-condition(s)
specifies one or more conditions that must be true for the event statement to execute.
Requirement:an event-statement-condition must be preceded by a slash (/).
See: For information about these conditions, see Event Statement Conditions.