>I already tried like that. The problem is when the parameter is not an array, like a character type, then when it come to the command myarray[1] <> "U" it gave me an error, myarray.prg doest not exist.
It should be
IF <b>TYPE(</b>"myarray[1]") <> "U"
--sb--