View Full Version : A problem with MEL scripting

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?

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

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

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