artefaktur
software engineer &        architecture

 
 
 
 

ACDK Tcl


acdk_tcl enables to embed Tcl scripting code into your ACDK application, controling all ACDK Objects via DMI.


With  acdk_tcl you can instrument an Tcl interpreter inside your ACDK application.

// C++/ACDK
RTclInterpreter pi = new TclInterpreter();
pi->parse(new acdk::io::File("~/mytcl.tlc"));

In the Tcl script you can call all ACDK classes with the standard ACDK Dynamic Method Invokation (DMI) methods:


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.


Please refer also to:
 
Last modified 2005-05-08 18:27 by SYSTEM By Artefaktur, Ing. Bureau Kommer