Tutorial Pages‎ > ‎

Tcl Tutorial

The following list provides links to the Tcl tutorials found at www.tcl.tk.

  1. Introduction
  2. Running Tcl
  3. Simple Text Output
  4. Assigning values to variables
  5. Evaluation & Substitutions 1: Grouping arguments with ""
  6. Evaluation & Substitutions 2: Grouping arguments with {}
  7. Evaluation & Substitutions 3: Grouping arguments with []
  8. Results of a command - Math 101
  9. Computers and Numbers
  10. Numeric Comparisons 101 - if
  11. Textual Comparison - switch
  12. Looping 101 - While loop
  13. Looping 102 - For and incr
  14. Adding new commands to Tcl - proc
  15. Variations in proc arguments and return values
  16. Variable scope - global and upvar
  17. Tcl Data Structures 101 - The list
  18. Adding & Deleting members of a list
  19. More list commands - lsearch, lsort, lrange
  20. Simple pattern matching - "globbing"
  21. String Subcommands - length index range
  22. String comparisons - compare match first last wordend
  23. Modifying Strings - tolower, toupper, trim, format
  24. Regular Expressions 101
  25. More Examples Of Regular Expressions
  26. More Quoting Hell - Regular Expressions 102
  27. Associative Arrays
  28. More On Arrays - Iterating and use in procedures
  29. Dictionaries
  30. File Access 101
  31. Information about Files - file, glob
  32. Invoking Subprocesses from Tcl - exec, open
  33. Learning the existence of commands and variables ? - info
  34. State of the interpreter - info
  35. Information about procs - info
  36. Modularization - source
  37. Building reusable libraries - packages and namespaces
  38. Creating Commands - eval
  39. More command construction - format, list
  40. Substitution without evaluation - format, subst
  41. Changing Working Directory - cd, pwd
  42. Debugging & Errors - errorInfo errorCode catch error return
  43. More Debugging - trace
  44. Command line arguments and environment strings
  45. Leftovers - time, unset
  46. Channel I/O: socket, fileevent, vwait
  47. Time and Date - clock
  48. More channel I/O - fblocked & fconfigure
  49. Child interpreters
Comments