Thread: syntax?
View Single Post
# 1 04-12-2004 , 01:39 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695

syntax?

Can anyone tell me what's wrong with this code? I know it does nothing for now, but I don't understand the error message Cannot cast data of type string to string[]

global proc editAttrPopup ()
{
$currentObj = `ls -sl`;
print($currentObj);
string $currentAttrMin = ($currentObj + ".up_Filter_Size");

window -menuBar true -maximizeButton false -title "Edit_Attribute" -iconName "editAttrPopupI" -w 200 -h 150 PopEditAttrB_w;
columnLayout;

rowColumnLayout -numberOfRows 2;

showWindow PopEditAttrB_w;

}

Thanks.