| Printed |
Page 22
Tcl Core Commands |
The fconfigure command has a new -error option that returns the
current error status of a socket. This is useful when you need
to determine if an asynchronous connect operation succeeded. If
there was an error, the error message is returned. If there was
no error, an empty string is returned.
|
Anonymous |
|
| Printed |
Page 128
|
Should read:
default name
Make the button with symbolic name *name* the default button.
The name option must be one of abort, cancel, ignore, no,
ok, or yes and consistent with the -type option used. If
the dialog has only one button, it is made the default
automatically. Otherwise, if this option is not specified,
no button is made default.
|
Anonymous |
|
| Printed |
Page 427
The web site http://www.sunscript.com is obsolete since the |
Tcl group at Sun was disbanded. The site may disappear in the
future, but currently it redirects users to http://www.scriptics.com.
Additions for Tcl/Tk 8.1
Tcl/Tk 8.1 final, released in April 1999, is a significant new release.
The major new features include:
support for multi-threaded applications
support for internationalization based on Unicode
a new, more powerful, regular expression package
improved extension architecture
new message catalog package
DDE support on Windows platform
library of C procedures for widget configuration options
additional object-based C library procedures
Tk embedding now also works on the Macintosh
better support for binary data based on UTF-8
New Tcl Core Commands
The following new commands have been added:
dde: execute a Dynamic Data Exchange command
encoding: convert between different character encoding systems
msgcat: message catalog to support internationalization
Modified Commands
The following commands have been modified:
fconfigure: now supports a -encoding option for specifying the
encoding of an open file or socket.
pkg_mkIndex: has new -direct option to generate direct loading
package indexes.
string: has a totitle subcommand to convert strings to have first
character capitalized and remainder lowercase.
regexp: now accepts three new switches -line, -lineanchor, and
-linestop that control how regular expressions treat
line breaks.
scan: now supports XPG3 position specifiers and the "%n" conversion
character.
The global variable tcl_platform(user) returns the name of the current user.
New Tcl/Tk API Functions
Many additions and changes have been made. They are described in the
following documentation pages: Access, ByteArrObj, Encoding, EvalObj,
GetCwd, GetVersion, InitStubs, ObjSetVar, ParseCmd, SaveResult, Thread,
ToUpper, Utf, InitStubs, SetOptions.
|
Anonymous |
|