Copyright (C) 2000-2012 |
Whole document tree Simple SWIG ExampleBelow is a little evaluator for Tcl commands. Type any valid Tcl command in and see the result immediately. (you can create Tk widgets too). SWIG allows you to dynamically load C extensions into the Tcl/Tk Netscape plugin. To see how this works, type the following commands in the window below. You should be able to access any of the commands in the simple example code.load ./example.so example fact 4 mod 9 3 get_time source test.tcl |