Lukich Posted October 3, 2005 Share Posted October 3, 2005 Hello. I have a simple network where I have several copies of one object piped throught the Switch sop to the Copy. I'm stamping them to the points on the gris. The names of stamping variables are "random01", "random02", etc. Now, I was trying to use the opdigits so that every new copy of my object would use the next stamping parameter. The string looked like this: param("rand0`opdigits(".")`", 0) and param("rand`padzero(2,`opdigits(".")`)`", 0) Each one gave me a red flag. Is there something wrong with the syntaxis, or is there another reason for it? Thank you very much, Luka Quote Link to comment Share on other sites More sharing options...
Jason Posted October 3, 2005 Share Posted October 3, 2005 You shouldn't have evaluate stuff inside an expression that already being evaluated - try something like this: param(strcat("rand",padzero(2,opdigits("."))), 0) Quote Link to comment Share on other sites More sharing options...
Lukich Posted October 4, 2005 Author Share Posted October 4, 2005 That did it. Thank you very much, Jason. 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.