joco
12-22-2007, 04:15 PM
I'm making an UI element and i'm having trouble passing an argument to a procedure from symbolButton's command;
...
for($i=0;$i<size($someName);$i++)
{
symbolButton -c "my_procedure($someID[$i], $someName[$i])";
}
I've tried all types of quotation mark and bracket variations, even tried putting variables in single string and passing them, but they just won't get in to that procedure. I can't google up any similar example that would help me with this problem, so I was hoping any of you guys ever did something similar and could help me out here?
Any help is much appreciated!
:)
...
for($i=0;$i<size($someName);$i++)
{
symbolButton -c "my_procedure($someID[$i], $someName[$i])";
}
I've tried all types of quotation mark and bracket variations, even tried putting variables in single string and passing them, but they just won't get in to that procedure. I can't google up any similar example that would help me with this problem, so I was hoping any of you guys ever did something similar and could help me out here?
Any help is much appreciated!
:)
