(based on Tcl/Tk 8.5b3)
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 [L79 ]
- expr: script level definition of functions [L80 ]
- expr, incr, string is double: Unlimited range of integer values supported; integer calculations no longer overflow [L81 ]
- incr: auto-initializes unset variable [L82 ]
- global varName ( elemName ) raises error [L83 ]
- lindex,linsert,lrange,lreplace,lset,string index: indices support integer[+-]integer and end[+-]integer syntax [L84 ]
- list: properly quotes the # character [L85 ]
- namespace import returns imported commands [L86 ]
- package unknown callback takes {packageName args} arguments where args is list of requirements. [L87 ]
- upvar level varName ( elemName ) varName ( elemName ) raises error [L88 ]
- Default value of tcl_precision is 0, meaning as many digits as needed for no loss of precision [L89 ]
- Default package unknown supports Tcl Modules [L90 ]
- tcl_precision has the value 0 by default (was 12 in Tcl 8.4)
- 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> [L123 ]
- <TraverseOut> [L124 ]
- <KP_Enter> on Windows [L125 ]
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?