SDF 2.001beta1: SDF Reference: on Macro

Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog

# 6.33. on Macro

## Interface

The general syntax is:

      !on type mask ; [id] ; code

The arguments are:

Name | Type | Default | Rule
type | symbol |  | <paragraph|phrase|macro|filter|table>
mask | string |  |
id | eventid | _NULL_ | <\w+>
code | rest |  |

See Understanding Macro Interfaces, if necessary.

## Description

The on macro specifies a rule to execute on certain events.

See Event Processing in the SDF User Guide for further details.

## Examples

To be completed ...

Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog