01: package test.tjcext;
02:
03: import tcl.lang.*;
04:
05: public class TJCExtension extends Extension {
06: public void init(Interp interp) throws TclException {
07: String init_file = "f1.tcl";
08: String[] files = { "f1.tcl", "f2.tcl", "f3.tcl" };
09: String prefix = "/test/tjcext/library/";
10:
11: TJC.sourceInitFile(interp, init_file, files, prefix);
12: }
13: }
|