Home › Tcl Built-In Commands Tcl
fileevent
Execute a script when a channel becomes readable or writable
literal type exactly as shown
argument replace with your value
?optional? may be omitted
Synopsis#
fileevent channel readable ?script?
fileevent channel writable ?script?
Description#
The fileevent command has been superceded by the chan event command which supports the same syntax and options.
Copyright#
- Copyright © 1994 The Regents of the University of California
- Copyright © 1994-1996 Sun Microsystems, Inc
- Copyright © 2008 Pat Thoyts