On 27.08.22 11:49, aotto1968 wrote:
Hi, the following code is valid tcl
...
OK I found the TCL-CRASH reason, the following script CRASH tcl
=============================================================================== oo::class create RpcClient {
}
oo::define RpcClient method write {name } {
puts "RpcClient → $name"
}
oo::class create LcConfigRpcClient {
superclass RpcClient
}
oo::define LcConfigRpcClient method LcConfigRpc_create_bug {name } {
LcConfigRpc create $name [self] 111
}
oo::define LcConfigRpcClient export LcConfigRpc_create_bug
oo::class create MkObjectRpc {
variable hdl
}
oo::define MkObjectRpc constructor {rpcHdl mqHdl} {
set hdl $mqHdl
oo::objdefine [self] forward rpc $rpcHdl
}
oo::define MkObjectRpc destructor {
my rpc otto-$hdl
}
oo::class create LcConfigRpc {
superclass MkObjectRpc
variable hdl
}
set FH [LcConfigRpcClient new]
$FH LcConfigRpc_create_bug cfg
$FH destroy ===============================================================================
mfg
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)