Tcl Tutorial

Tcl Tutorial

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