on
on
on messageName [parameterList]
end messageName
The on keyword defines a new message handler of the specified name.
The optional parameterList lets the handler receive values sent along with a message. NovoCard assigns each value to a parameter variable in the parameterList.