OS Manuals

gets(n)

gets - Read a line from a channel

gets(n) Tcl Built-In Commands gets(n)


gets - Read a line from a channel

gets channel ?varName?


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

chan(n)

7.5 Tcl

tcl 9.1.0-r2 · os · ingested 2026-10-27