O'Reilly logo

Practical Programming in Tcl & Tk, Third Edition by Brent B. Welch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The info Command

Table 13-4 summarizes the info command. The operations are described in more detail later.

Table 13-4. The info command.
info args procedureA list of procedure's arguments.
info body procedureThe commands in the body of procedure.
info cmdcountThe number of commands executed so far.
info commands ?pattern?A list of all commands, or those matching pattern. Includes built-ins and Tcl procedures.
info complete stringTrue if string contains a complete Tcl command.
info default proc arg varTrue if arg has a default parameter value in procedure proc. The default value is stored into var.
info exists variableTrue if variable is defined.
info globals ?pattern?A list of all global variables, or those matching pattern.
info hostnameThe name of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required