Artifact ed7dea35aade17aa5d764b183fca46f831fbbfe74b5c114d6ef1980aa699d4cd:
- File doc/markdown/fileevent.md — part of check-in [869cc44915] at 2026-01-16 05:24:39 on branch tip-700 — - conversion script now needs Tcl 9 to run (due to the use of [string insert]) - making my syntax highlighter happy again (changed escaped quotes to \x22) - initial attempt for detecting text to convert to links and produce markdown links for these strings - unified append.n & apply.n & array.n (user: Torsten, size: 707) [annotate] [blame] [check-ins using]
CommandName: fileevent ManualSection: n Version: 7.5 TclPart: Tcl TclDescription: Tcl Built-In Commands Links:
- chan(n) Copyright:
- Copyright (c) 1994 The Regents of the University of California.
- Copyright (c) 1994-1996 Sun Microsystems, Inc.
- Copyright (c) 2008 Pat Thoyts ---
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.