First defined in: FKiSS3
The
overflow event is called when a mathematical action
attempts to divide by zero or when the result would be outside the range
of a 32-bit integer (from -2147483648 to 2147483647). This can be
triggered by the
div or
mod actions.
This is probably only useful for error-handling but maybe someone will find a
more creative use for it.
There can only be one overflow event.
|
Example:
;@ overflow()
;@ notify("Error! Division by zero"); Notify user of the overflow.