Lingo Dictionary > D-F > forget() |  |

forget()

Syntax

    timeout("timeoutName").forget()
    forget(timeout("timeoutName"))

Description

This timeout object function removes the given `timeoutObject` from `the timeoutList`, and prevents it from sending further timeout events.

Example

This statement deletes the timeout object named AlarmClock from `the timeoutList`:

    timeout("AlarmClock").forget()

See also

`timeout()`, `timeoutHandler`, `timeoutList, new()`