Tesla's fan Posted July 8, 2014 Share Posted July 8, 2014 why not 2 ? Quote Link to comment Share on other sites More sharing options...
RogerW Posted July 8, 2014 Share Posted July 8, 2014 that is a good question, addattribute("test",1); i@test = 2; that works and assigns the new value but, i@test = 2; addattribute("test",1); does not ?? addattribute("test",1); addattribute("test",2); i@test = 3; addattribute("test",4); this stops at 3, so I think there must be some kind of priority when assigning attribute values, but that is a guess. Maybe someone with more knowledge on this could help you out. I would just continue to assign with the @ syntax. Quote Link to comment Share on other sites More sharing options...
anim Posted July 8, 2014 Share Posted July 8, 2014 http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=151709#151709 Quote Link to comment Share on other sites More sharing options...
RogerW Posted July 8, 2014 Share Posted July 8, 2014 http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=151709#151709 that explains it. Thanks Quote Link to comment Share on other sites More sharing options...
Tesla's fan Posted July 9, 2014 Author Share Posted July 9, 2014 thank you . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.