info
option
[arg
...]procname
Return a list of the argument names to procedure
procname
.
procname
Return the body of procedure
procname
.
Return total count of commands invoked by the interpreter.
pattern
]Return a list of Tcl commands (built-in and procedures)
matching pattern
. Return all
commands if pattern
is
omitted.
command
Return 1 if command
is
complete (i.e., no unmatched quotes, braces, etc.).
procname
arg varname
Return 1 if argument arg
of
procedure procname
has a default
argument value, otherwise 0. If there is a default value, it
is placed in variable
varname
.
varName
Return 1 if local or global variable
varName
exists.
pattern
]Return a list of global variables matching
pattern
. Return all variable names
if pattern
is omitted.
Return system hostname.
number
]If number
is not specified,
return a number indicating the current procedure stack level,
or 0 for global level. With number
,
return a list containing the name and arguments for the
procedure at the specified stack level.
Return the name of the standard Tcl library directory;
the same as global variable
tcl_library
.
interp
]Return a list of the currently loaded packages for
interpreter interp
(default is for
all interpreters; use empty string for current
interpreter).
pattern
]Return list of local variables, including procedure
arguments, that match pattern
(default is all).
Return full name of file from which application was invoked.
Return Tcl patch level; same as global variable
tcl_patchLevel
.
pattern
]Return list of Tcl procedures matching
pattern
, or all procedures if
pattern
is omitted.
Return name of Tcl file being evaluated.
Return the platform-dependent file extension used for shared libraries, or an empty string if shared libraries are not supported.
Return Tcl version; same as global variable
tcl_version
.
pattern
]Return a list of local and global variables matching
pattern
, or all variables if
pattern
is omitted.