Skip to content
Tcl Source Code Documentation
Login

Documentation


CommandName: fileevent ManualSection: n Version: 7.5 TclPart: Tcl TclDescription: Tcl Built-In Commands Links:

Name

fileevent - Execute a script when a channel becomes readable or writable

Synopsis

::: {.synopsis} ::: [fileevent]{.cmd} [channel]{.arg} [readable]{.lit} [script]{.optarg} [fileevent]{.cmd} [channel]{.arg} [writable]{.lit} [script]{.optarg} :::

Description

The fileevent command has been superceded by the chan event command which supports the same syntax and options.