Really Object Not Found?

CODE
$lst=lsUI -ctl -l;//or without -l

for($ACtrl in $lst)
{
  print objectTypeUI  ($ACtrl+"\n");
}

// Error: line 5: Object not found:

it lists :but I cannot access objects.

this is a restriction ? or the day is wrong for me ?

thanks.

QUOTE
print objectTypeUI ($ACtrl+"\n");

You've got a bad semantic error

You mean to wirte:
CODE
print (objectTypeUI  $ACtrl+"\n");

But yes obviously since no name ends in \n, its nit syntax error because it is possible that a string could contain end of line at the end tough why would you add the "\n" is beyond me this SHOULD be the same:

CODE
print (objectTypeUI  $ACtrl);