View Full Version : stupid mel question....
I have got a small syntax problem:
in the bakeResults command is a flag like this: -t "1:200".
How is the syntax, if I use variables instead of the numbers?
thanks
Goob.
|
|
svenip
04-30-2002, 02:04 PM
you should write your command into a string and then exec the string :
string $cmd = "bakeResult -t \""+$variable1+":"+variable2+"\";";
eval($cmd);
every quote in the original command must be introduced by the \
hope this helps :bounce:
Cool, thanks a lot!
cheers,
Goob.
CGTalk Moderation
01-13-2006, 05:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.