OOps sorry I mixed some reminds... You are right :d The way to use the pointers is : upvar 2 new_state new_state To be able to modify the new_state variable... Again sorry... Phil
Le Saturday 12 August 2006 13:03, Yoda-BZH - Tristan Charbonneau a écrit : > hmmmmm > I followed the wiki : > > To get a copy: > > upvar 2 $epvar args > set nick $args(nick) > > So I wrote : > upvar 2 $evpar args > set substate $args(idx) > > but when I wrote : status_log "test : $substate" > it printed : "test : new_state", and with my patch it print "BSY", > "IDL", "AWY" ... > > So I doesn't really understand if my patch is wrong. What must I do so ? :s > > On 8/12/06, Philippe Valembois - Phil > > <[EMAIL PROTECTED]> wrote: > > Noooooooooo > > They weren't typos ! > > It was by design ! > > Here you chose the easy solution but it removes abilities ! > > You are putting in the array the values ! It mustn't be like that ! > > Before the array was filled by a sort of pointers to variables which let > > you to modify the values ! > > Phil > > P.S. I thought you understood how it worked but I realize that you > > didn't... Anyway, I have to go so I hope Vivia will be able to revert the > > changes... > > > > Le Saturday 12 August 2006 11:49, Yoda-BZH - Tristan Charbonneau a écrit: > > > no problem :) > > > > > > On 8/12/06, Vivia Nikolaidou <[EMAIL PROTECTED]> wrote: > > > > On 8/12/06, Yoda-BZH - Tristan Charbonneau <[EMAIL PROTECTED]> wrote: > > > > > There's somes '$' forgotten in automsg.tcl > > > > > > > > > > Instead of passing $automessage and $new_state to ChangeMyState's > > > > > PostEvent, "automessage" and "new_state" > > > > > > > > > > Please apply this, thanks :) > > > > > > > > Applied, thanx for reporting! :) > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Amsn-devel mailing list > > Amsn-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/amsn-devel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Amsn-devel mailing list Amsn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amsn-devel