** Attributes ** name: Miscellaneous Tcl procs (Kraus) location: http://mkextensions.sourceforge.net/ Updated: 11/2002 Contact: mailto:michael@kraus5.de (Michael Kraus), mailto:mmg_kraus@csi.com (Michael Kraus) ** 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. 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] 2003-02-20: 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: ======c int Mkgeneric_SafeInit(Tcl_Interp *tI) { return Mkgeneric_SafeInit(tI); } ====== This presumably was supposed to be: ======c int Mkgeneric_SafeInit(Tcl_Interp *tI) { return Mkgeneric_Init(tI); } ====== Both bugs have been filed on the mkextensions sourceforge page. <> Michael Kraus | Package | GUI | Mathematics | Object Orientation | Threads