I think you have to change

set x [$te $i]

to

set x [$te i_]

-Scott

On 3/20/07, Amin Irandoost <[EMAIL PROTECTED]> wrote:
>
> hi dear friends
> how to read  variable value of C++ in OTCL??
> for example a partial of code are
> class test:public TclObject{
> public:
> int i;
> test();
> .
> .
> .};
>
> test::test(){
> bind("i_",&i);
> }
>
> in Tcl write this:
> set te [new test]
> set x [$te $i???] ??????????????
>
> --
> Amin Irandoost
>
> --
> Amin Irandoost
>

Reply via email to