2005/5/10
-- ACDK Handbook Packages ACDK Tcl acdk_tcl_dll - manual See also: acdktcl - manual
(c) 2005 byRoger Rene Kommer
Kindly hosted at:
acdk_tcl_dll enables to embed Tcl scripting code into your ACDK application.
Content of this chapter: Tcl as DMI Client Hello World Sample Type mapping Synopis Tcl acdk_new acdk_invoke acdk_invoke_static acdk_peek acdk_peek_static acdk_poke acdk_poke_static Embedded Tcl Interpreter
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"]
proc acdk_new{classname args}
"acdk/lang/StringBuffer"
proc acdk_invoke{object methodename args}
proc acdk_invoke_static{classname methodename args}
proc acdk_peek{object membername args}
proc acdk_peek_static{classname membername}
proc acdk_poke{object membername newval}
proc acdk_oke_static{classname membername newval}