>>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"
Sergey,
This is the syntax shown in my and Mark's messages, so it's not the problem.
If it's not broken, fix it until it is.
My Blog