wheni Command

The wheni command executes commands on a given low-level event.

The wheni command has the following general syntax:

Syntax

wheni event-specification [ modifier ]{ command ... ; }

When the specified event occurs, the commands are executed.

The following specific syntax is valid:

wheni at address { command; } Execute command(s) when address is reached.

where:

address is any expression resulting in or usable as an address.

command is the name of a command.

For a list and the syntax of all events see Event Specification and Event Specification Modifiers.

For a general discussion of event management commands see Events.