Proc error

Proc error

jayantbhatt07
Advocate Advocate
539 Views
1 Reply
Message 1 of 2

Proc error

jayantbhatt07
Advocate
Advocate

Hi I'm getting an error while assigning the proc any idea?

 

// Error: line 1: Cannot find procedure "new".

 

proc high()
{
string $sel[] = `ls -sl`;
int $sSize = size($sel);
string $suffix = "_High";
for($eo in $sel)
rename $eo ($eo + $suffix);
}

 

0 Likes
Accepted solutions (1)
540 Views
1 Reply
Reply (1)
Message 2 of 2

rajasekaransurjen
Collaborator
Collaborator
Accepted solution

Hi,

Your code doesn't give any error.

0 Likes