Why this command is giving me an error
(// Error: Line 2.46: Syntax error)
string $selObjs[] = ls -sl;for( $obj in $selObjs ) group -name ( $obj + “_Ctrl” ) $obj;
rollin said: Where how why what?
string $selObjs[] = ls -sl;for( $obj in $selObjs ){ group -name ( $obj + “_Ctrl” ) $obj;}
RN said: rollin said: Where how why what? Is this a productive use of your time? This is clearly MEL.
RN said: Have you tried the curly brackets?string $selObjs[] = ls -sl;for( $obj in $selObjs ){ group -name ( $obj + “_Ctrl” ) $obj;}
Replies