>I have some code which collects an array as a parameter. Some rogue piece of code is passing something else. The code copes when run via fox but dies through the app.
>
>The build app function tells me (through errors) that it's there but not where to find it.
>
>How do I check if the parameter is an array and suspend if it's not? Type() doesn't work.
>
>Sarah
There is a sample code that shows how to check if parameter is an array
Function Myfunction
Lparameter taMyarray
IF Type("taMyarray[1]") = "U"
Wait Wind "Not Array"
ELSE
Wait Wind "Array"
ENDIF
--sb--