davegreenwood
05-29-2008, 09:48 AM
If I type:
string $sl[];
$sl=`ls -mat`;
print $sl;
I get a list of my materials:
lambert1
particleCloud1
but if I type:
string $sel[];
$sel=`ls -mat`;
print $sel;
I get:
// Error: string $sel[]; //
// Error: Invalid redeclaration of variable "$sel" as a different type. //
Mac Intel Maya2008 sp1
Is that variable name reserved or something??
scratching my head...
Dave.
string $sl[];
$sl=`ls -mat`;
print $sl;
I get a list of my materials:
lambert1
particleCloud1
but if I type:
string $sel[];
$sel=`ls -mat`;
print $sel;
I get:
// Error: string $sel[]; //
// Error: Invalid redeclaration of variable "$sel" as a different type. //
Mac Intel Maya2008 sp1
Is that variable name reserved or something??
scratching my head...
Dave.
