Tcl Commands

Tcl Commands enumerates the built-in Tcl commands.

See Also

official reference
constructing calls to the commands with arguments, etc.
documentation

Commands in the global namespace

after
append
apply
new in 8.5
array
auto_execok
auto_import
auto_load
auto_load_index
auto_mkindex
auto_mkindex_old
auto_qualify
auto_reset
bgerror
binary
break
case
catch
cd
chan
new in 8.5
clock
::tcl::clock:: [document the tcl::clock commands somewhere... perhaps on the clock page itself? ]
close
::tcl::chan::close
concat
continue
coroutine
new in 8.6
dict
encoding
eof
::tcl::chan::eof
error
eval
exec
exit
expr
::tcl::mathfunc, ::tcl::mathop
fblocked
::tcl::chan::blocked
fconfigure
::tcl::chan::configure
fcopy
::tcl::chan::copy
file
fileevent
::tcl::chan::event
flush
::tcl::chan::flush
for
foreach
format
gets
::tcl::chan::gets
glob
global
history
if
incr
info
::tcl::info
interp
join
lappend
lassign
new in 8.5
lindex
linsert
list
llength
load
lrange
lrepeat
new in 8.5
lreplace
lreverse
new in 8.5
lsearch
lset
lsort
memory
msgcat
package for internationalization of dialogs
namespace
open
package
parray
pid
pkg::create
pkg_mkIndex
prefix
Tcl 8.6
proc
puts
::tcl::chan::puts
pwd
read
::tcl::chan::read
refchan
new in 8.5
regexp
regsub
rename
resource
Macintosh specific command
return
safe
scan
seek
::tcl::chan::seek
self
Tcl 8.6
set
socket
source
split
string
subst
switch
tailcall
new in 8.6
tcl_endOfWord
tcl_findLibrary
tcl_startOfNextWord
tcl_startOfPreviousWord
tcl_wordBreakAfter
tcl_wordBreakBefore
tclLog
tclPkgSetup
tclPkgUnknown
tell
::tcl::chan::tell
throw
new in 8.6
time
trace
transchan
new in 8.6
try
new in 8.6
unknown
unload
new in 8.5
unset
update
uplevel
upvar
variable
vwait
while
yield
new in 8.6
yieldto
new in 8.6
zlib
new in 8.6

Contingent Commands

memory
specialty command not available by default

Other Namespaces

::oo
::pkg
pkg::create
::tcl::mathfunc
New in 8.5. Contains commands that implement the math functions available in expr.
::tcl::mathop
New in 8.5. Contains commands that implement the math operators available in expr. As commands, some of them have additional functionality beyond their constrained use as unary or binary operators in an expr expression.
::tcl::pkgconfig
::tcl::tm::path
::tcl::tm::roots
::tcl::tommath
::tcl::unsupported

Packages in the Tcl core distribution

dde
http
opt
package for parsing command line arguments
platform
new in 8.5. a package for determining platform specific information package
platform_shell
new in 8.5. a package for determining platform specific information
platform::shell
registry
TclOO
tcltest
a package used for test suites
tm
new in 8.5. information on the Tcl Modules package
::tcl::chan::Truncate
::tcl::chan::rCreate
::tcl::chan::rPostevent
::tcl::chan::Pending
::tcl::Bgerror
::tcl::dtrace
::tcl::CopyDirectory