Please note this page is for reference, not discussions (see Changes in Tcl/Tk)
New Command Line Options
- tclsh -encoding encoding [L1 ] [L2 ]
- wish -encoding encoding
Tcl Changes
New Language Syntax
Changes to Tcl Commands
New Commands
Removed Commands
New Subcommands
Expanded Syntax / New Options
Changes to Tcl variables
New global variables
Removed global variables
Changed Tcl behavior
- clock clicks returns microseconds since the epoch [L80 ]
- expr: script level definition of functions [L81 ]
- expr, incr, string is double: Unlimited range of integer values supported; integer calculations no longer overflow [L82 ]
- incr: auto-initializes unset variable [L83 ]
- global varName ( elemName ) raises error [L84 ]
- lindex,linsert,lrange,lreplace,lset,string index: indices support integer[+-]integer and end[+-]integer syntax [L85 ]
- list: properly quotes the # character [L86 ]
- namespace import returns imported commands [L87 ]
- package unknown callback takes {packageName args} arguments where args is list of requirements. [L88 ]
- upvar level varName ( elemName ) varName ( elemName ) raises error [L89 ]
- Default value of tcl_precision is 0, meaning as many digits as needed for no loss of precision [L90 ]
- Default package unknown supports Tcl Modules [L91 ]
- The following commands are script-modifiable ensembles: chan, clock, dict, info, string
Tk Changes
Changes to Tk Commands
New Commands
New Subcommands
Expanded Syntax / New Options
Changed Tk behavior
New Events
- <TraverseIn> [L124 ]
- <TraverseOut> [L125 ]
- <KP_Enter> on Windows [L126 ]
Changes to Bundled Packages
New packages
Updated packages
What other kinds of changes will a developer have to make when moving from Tcl 8.4 to 8.5?