diff options
Diffstat (limited to 'Examples/tcl/multimap/runme.tcl')
| -rw-r--r-- | Examples/tcl/multimap/runme.tcl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Examples/tcl/multimap/runme.tcl b/Examples/tcl/multimap/runme.tcl new file mode 100644 index 0000000..bafa281 --- /dev/null +++ b/Examples/tcl/multimap/runme.tcl @@ -0,0 +1,24 @@ +# file: runme.tcl +# Try to load as a dynamic module. + +catch { load ./example[info sharedlibextension] example} + +# Call our gcd() function +set x 42 +set y 105 +set g [gcd $x $y] +puts "The gcd of $x and $y is $g" + +# call the gcdmain +gcdmain "gcdmain 42 105" + + +# call count +set c [count "Hello World" l] +puts $c + +# call capitalize + +set c [capitalize "helloworld"] +puts $c + |
