```
on messageName [parameterList]
statements
end messageName
```
The on keyword defines a new message handler of the specified name.
The optionalparameterListlets the handler receive values sent along with a message. HyperCard assigns each value to a parameter variable in theparameterList.