Skip to content
Tcl Source Code Artifact [8858af547d]
Login

Artifact [8858af547d]

Artifact 8858af547d0fb666135f273cbb9242fdec02e15a2fd096691569e57d83b54024:


---
CommandName: gets
ManualSection: n
Version: 7.5
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

gets - Read a line from a channel

# Synopsis

::: {.synopsis} :::
[gets]{.cmd} [channel]{.arg} [varName]{.optarg}
:::

# Description

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