acdk_tcl enables to embed Tcl scripting code into your ACDK application, controling all ACDK Objects via DMI.
// C++/ACDK RTclInterpreter pi = new TclInterpreter(); pi->parse(new acdk::io::File("~/mytcl.tlc")); |
proc foo{ string1 string2 }{ set sb [acdk_new "acdk/lang/StringBuffer" $string1 ] acdk_invoke $sb append $string2 return [acdk_invoke $sb toString] } acdk_invoke [ acdk_peek_static "acdk/lang/System" out ] println [ foo "Hello Tcl" " from ACDK"] |
Sub chapter pages: ACDK Tcl (acdk_tcl)acdk_tcl enables to embed Tcl scripting code into your ACDK application, controling all ACDK Objects via DMI. How to compile and use acdk_tcl. The acdktcl is a simple command line Tcl interpreter. acdk_tcl_dll enables to embed Tcl scripting code into your ACDK application. ACDK is available under the LGPL license. |