Skip to content
Tcl Source Code Changes To Migrating scripts to Tcl 9
Login

Changes To Migrating scripts to Tcl 9

Changes to "Migrating scripts to Tcl 9" between 2023-11-06 17:09:29 and 2023-11-07 23:20:40

︙
108
109
110
111
112
113
114
115

116
117
118
119
120
121
122
108
109
110
111
112
113
114

115
116
117
118
119
120
121
122







-
+








In Tcl 9, only the latter would be successful.

If compatibility with both Tcl 8 and 9 is desired, the following
idiom may be used

```
load sample.dll [string toupper sample]
load sample.dll [string totitle sample]
```

Note that instances of the `load` command that do not have the second
argument specified need not be changed.

In addition, Tcl 9 does not restrict the names to ASCII. In practice
this should not have any compatibility issues.
︙