The info Command
Table 13-4 summarizes the info command. The operations are described in more detail later.
info args procedure | A list of procedure's arguments. |
info body procedure | The commands in the body of procedure. |
info cmdcount | The 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 string | True if string contains a complete Tcl command. |
info default proc arg var | True if arg has a default parameter value in procedure proc. The default value is stored into var. |
info exists variable | True if variable is defined. |
info globals ?pattern? | A list of all global variables, or those matching pattern. |
info hostname | The name of ... |
Get Practical Programming in Tcl & Tk, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.