Attributes edit
- name
- Miscellaneous Tcl procs (Kraus)
- location
- http://mkextensions.sourceforge.net/
- Updated
- 11/2002
- Contact
- mailto:[email protected] (Michael Kraus), mailto:[email protected] (Michael Kraus)
Description edit
- 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.
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:
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.