TOC PREV NEXT INDEX

 


Specifying Use of Older Versions


You can run TclPro Checker and specify use with an older version of Tcl or Tk. To check for older versions of any package, use the use option and specify the version to check. For example, to check a file written for Tcl7.5 and Tk4.1, enter:


procheck -use "tcl7.5" -use "tk4.1" foo.tcl

Valid use arguments are package names followed by a version number. Supported package names are "tcl", "tk", "expect", "incrTcl", and "tclX". Table 7"Packages and Version Numbers" , lists the versions supported for each package. If you do not specify a version for a package, TclPro Checker uses the version compatible with the Tcl version you select.


Note: Tk, [incr Tcl], TclX, and Expect are checked only if you explicitly specify them on the command line with use option.

When you specify older versions of Tcl and any extension (including Tk), the versions of Tcl and any specified extension must be compatible, as listed in Table 7. The following example includes incompatible versions and should not be used:


procheck -use "tcl7.5" -use "tk4.0" foo.tcl

The correct version pair is:


procheck -use "tcl7.5" -use "tk4.1" foo.tcl



http://www.ajubasolutions.com
Voice: (650) 210-0100
Fax: (650) 210-0101
support@ajubasolutions.com
TOC PREV NEXT INDEX