Tcl tutorials
Tcl (Tool Command Language) is a powerful, interpreted scripting language designed for ease of use and rapid development. Known for its simplicity and flexibility, Tcl is widely used for scripting, automation, and GUI development with Tk.
E-books
Tcl provides a straightforward syntax for tasks like string manipulation, list processing, and file operations. Its integration with Tk enables the creation of cross-platform graphical user interfaces, making it a popular choice for desktop applications.
Tcl is commonly used for system administration scripts, testing automation, and embedded systems, offering extensibility through packages and a robust community for support.
Read introductory Tcl tutorial and Tcl Tk tutorial .
Core Tcl commands
- Tcl set Command
- Tcl unset Command
- Tcl incr Command
- Tcl append Command
- Tcl lappend Command
- Tcl array Command
- Tcl dict Command
- Tcl namespace Command
- Tcl variable Command
- Tcl global Command
- Tcl if Command
- Tcl else Command
- Tcl elseif Command
- Tcl while Command
- Tcl for Command
- Tcl foreach Command
- Tcl switch Command
- Tcl break Command
- Tcl continue Command
- Tcl return Command
- Tcl puts Command
- Tcl gets Command
- Tcl read Command
- Tcl open Command
- Tcl close Command
- Tcl flush Command
- Tcl seek Command
- Tcl tell Command
- Tcl eof Command
- Tcl proc Command
- Tcl source Command
- Tcl eval Command
- Tcl apply Command
- Tcl uplevel Command
- Tcl upvar Command
- Tcl catch Command
- Tcl error Command
- Tcl try Command
- Tcl finally Command
- Tcl exit Command
- Tcl exec Command
- Tcl pid Command
- Tcl after Command
- Tcl time Command
- Tcl clock Command
- Tcl info Command
- Tcl trace Command
- Tcl rename Command
- Tcl interp Command
- Tcl string Command
- Tcl format Command
- Tcl scan Command
- Tcl binary Command
- Tcl regexp Command
- Tcl regsub Command
- Tcl list Command
- Tcl lindex Command
- Tcl llength Command
- Tcl lrange Command
- Tcl linsert Command
- Tcl lreplace Command
- Tcl lsearch Command
- Tcl lsort Command
- Tcl concat Command
- Tcl join Command
- Tcl split Command
- Tcl expr Command
- Tcl mathfunc Command
- Tcl mathop Command
- Tcl file Command
- Tcl glob Command
- Tcl cd Command
- Tcl pwd Command
- Tcl package Command
- Tcl history Command
- Tcl unknown Command
- Tcl auto_load Command
- Tcl auto_execok Command
- Tcl auto_reset Command
- Tcl vwait Command
- Tcl http Package
last modified April 21, 2025