Weld /
Extensions
Search:  


Weld Extensions

Weld implements several Tcl extension which are used for validation. These are:

  • method - definition of a TOD proc.
  • extern - declare prototypes for a proc/method.
  • local - declare a variable to be local to a proc
  • declare - declare a variable to be of a specific type
  • typedef - user defined types
  • uses - definition of required or used namespaces

Weld is also aware of the namespace variable ~Opts as used in TOD, and the Opts command used in proc declarations. These are used to suppress uninitialized array element warnings as described in declare.

Note all of these extensions are emulated in Tcl by Mod when Weld is not being used. And in the case of uses, the implemention actually resides in Mod.

© 2008 Peter MacDonald

Page last modified on November 28, 2007, at 06:54 AM