Version 1 of Tcl Tutorial Index

Updated 2017-07-01 11:58:06 by arjen

Tcl Tutorial Index

Getting started

Tcl Tutorial Lesson 0|Introduction

Tcl Tutorial Lesson 0a|Running Tcl

Tcl Tutorial Lesson 1|Simple Text Output

Tcl Tutorial Lesson 2|Assigning values to variables

Tcl Tutorial Lesson 3|Evaluation and Substitutions 1: Grouping arguments with ""

Tcl Tutorial Lesson 4|Evaluation and Substitutions 2: Grouping arguments with {}|%

Tcl Tutorial Lesson 5|Evaluation and Substitutions 3: Grouping arguments with [%|%]

Tcl Tutorial Lesson 6|Results of a command - Math 101

Tcl Tutorial Lesson 6a|Computers and Numbers

Flow Control

Tcl Tutorial Lesson 7|Numeric Comparisons 101 - if

Tcl Tutorial Lesson 8|Textual Comparison - switch

Tcl Tutorial Lesson 9|Looping 101 - While loop

Tcl Tutorial Lesson 10|Looping 102 - For and incr

Tcl Tutorial Lesson 11|Adding new commands to Tcl - proc

Tcl Tutorial Lesson 12|Variations in proc arguments and return values

Tcl Tutorial Lesson 13|Variable scope - global and upvar

Data Types

Tcl Tutorial Lesson 14|Tcl Data Structures 101 - The list

Tcl Tutorial Lesson 15|Adding and Deleting members of a list

Tcl Tutorial Lesson 16|More list commands - lsearch, lsort, lrange

Tcl Tutorial Lesson 16a|Simple pattern matching - "globbing"

Tcl Tutorial Lesson 17|String Subcommands - length index range

Tcl Tutorial Lesson 18|String comparisons - compare match first last wordend

Tcl Tutorial Lesson 19|Modifying Strings - tolower, toupper, trim, format

Tcl Tutorial Lesson 20|Regular Expressions 101

Tcl Tutorial Lesson 20a|More Examples Of Regular Expressions

Tcl Tutorial Lesson 21|More Quoting Hell - Regular Expressions 102

Tcl Tutorial Lesson 22|Associative Arrays

Tcl Tutorial Lesson 23|More On Arrays - Iterating and use in procedures

Tcl Tutorial Lesson 23a|Dictionaries

Input and Output

Tcl Tutorial Lesson 24|File Access 101

Tcl Tutorial Lesson 25|Information about Files - file, glob

Tcl Tutorial Lesson 26|Invoking Subprocesses from Tcl - exec, open

Introspection

Tcl Tutorial Lesson 27|Learning the existence of commands and variables - info

Tcl Tutorial Lesson 28|State of the interpreter - info

Tcl Tutorial Lesson 29|Information about procs - info

Modularization and Code Reuse

Tcl Tutorial Lesson 30|Modularization - source

Tcl Tutorial Lesson 31|Building reusable libraries - packages and namespaces

Further Topics

Tcl Tutorial Lesson 32|Creating Commands - eval

Tcl Tutorial Lesson 33|More command construction - format, list

Tcl Tutorial Lesson 34|Substitution without evaluation - format, subst

Tcl Tutorial Lesson 35|Changing Working Directory - cd, pwd

Tcl Tutorial Lesson 36|Debugging and Errors - errorInfo errorCode catch error return

Tcl Tutorial Lesson 37|More Debugging - trace

Tcl Tutorial Lesson 38|Command line arguments and environment strings

Tcl Tutorial Lesson 39|Leftovers - time, unset

Tcl Tutorial Lesson 40|Channel I/O: socket, fileevent, vwait

Tcl Tutorial Lesson 41|Time and Date - clock

Tcl Tutorial Lesson 42|More channel I/O - fblocked and fconfigure

Tcl Tutorial Lesson 43|Child interpreters