>Not to be a Pig here but did you read the question? The TYPE and VARTYPE of an array return the TYPE or VARTYPE of the first element. I don't know wether the varriable is actually an array or not.
Bill, did you try an answer?
TYPE('myarray(1)') will return "U" if myarray is NOT an array, but a variable. That's how you know it is not an array.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison