PDA

View Full Version : A problem with MEL scripting


delucia
09-08-2011, 02:28 AM
Hey guys I have been recently working on MEL scripting in maya but burst into a problem with ls -sl command.


string $selectionList[] = 'ls -sl';

this gives syntax error.


I tried a lot and searched through the net but every example is like that. I guess the reason is a foolish one but what can it be?

kodde
09-08-2011, 02:33 AM
Isn't it just an issue of your ' should be `?

Noors
09-08-2011, 02:34 AM
it's ` and not '
erf ninja'ed

delucia
09-08-2011, 03:43 AM
I knew its a foolish one :) thank you guys.