Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/tcl/multimap/runme.tcl
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

25 lines
368 B
Tcl

# 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