Version 12 of mkextensions

Updated 2003-02-20 15:37:41

What: Miscellaneous Tcl procs (Kraus)

 Where: http://mkextensions.sourceforge.net/ 
 Description: mkGeneric - a collection of Tcl 8 commands that the contact
         found missing.  Includes a variety of math functions, list functions
         programming constructs, output options, etc.
        mkClasses - a Tcl object class and methods mechanism,
        mkTables - a collection of Tcl scripts that treat lists as if they
         were 'tables' (a list whose elements are themselves lists),
        mkThreads - thread support for Tcl/Tk scripts,
        mkWidgets - megawidget support for Tk, with MDI widget and
         other goodies.
 Updated: 11/2002
 Contact:  mailto:[email protected]  (Michael Kraus)
        mailto:[email protected] (Michael Kraus)

[Another page where it would be useful for someone to mine information from the reference project and provide more details here]


On 2003-02-19, a bug in the pkgIndex.tcl of mkextensions was reported in the Tcl chatroom:

 package ifneeded mkGeneric 1.3 [list
          load [file join [set dir] mkGeneric13[info sharedlibextension]]
 ]

Notice that without a backslash after "list", the load command is immediately executed, and its result stored for ifneeded...


NEM 20Feb2003 - There was another bug which cropped up as a result of this chatroom session. The Mkgeneric_SafeInit function is defined in terms of itself, making it infinitely recursive:

 int Mkgeneric_SafeInit(Tcl_Interp *tI) {
     return Mkgeneric_SafeInit(tI);
 }

This presumably was supposed to be:

 int Mkgeneric_SafeInit(Tcl_Interp *tI) {
     return Mkgeneric_Init(tI);
 }

Both bugs have been filed on the mkextensions sourceforge page.


Michael Kraus | [ Category Package | Category GUI | Category Mathematics | Category Object Orientation | Category Threads ]