1. Includes
Include files contain the Extern definitions for a module. eg.
namespace eval ::prog {
extern count {n}
extern value {n args}
}
Ted can automatically generate include definitions
(using <Shift-F10>)
for file, placing them
in include/file.htcl. Mod can then make use of the definition in
validating and loading applications.
Regeneration is also supported using the Ted menu
File/Development/Generate-Interface.
Moreover, File/Development/Regenerate-Interfaces can be used
to bring all include files up to date with their .tcl files.
© 2008 Peter MacDonald