Skip to content
Tcl Source Code Artifact [9e4533a378]
Login

Artifact [9e4533a378]

Artifact 9e4533a37838d80e77d42ade544ce713c1c2aa31781d0d0b98e5d70b7ee7164a:


---
CommandName: read
ManualSection: n
Version: 8.1
TclPart: Tcl
TclDescription: Tcl Built-In Commands
Links:
 - chan(n)
Copyright:
 - Copyright (c) 1993 The Regents of the University of California.
 - Copyright (c) 1994-1996 Sun Microsystems, Inc.
---

# Name

read - Read from a channel

# Synopsis

::: {.synopsis} :::
[read]{.cmd} [-nonewline]{.optlit} [channel]{.arg}
[read]{.cmd} [channel]{.arg} [numChars]{.arg}
:::

# Description

The \fBread\fR command has been superceded by the \fBchan read\fR command which supports the same syntax and options.