>Hi Kenneth
>
>Thank's
>Do you think that performance will be affected by this king of trapping...
>
>
>
>>Rock,
>>
>>You can try ALEN(MyArray), which will kick out an error if the variable is not an array. Trap the error and there you go.
>>
>>>Hi
>>>
>>>I want to know if a specific variable is an array ?
>>>I try VARTYPE() or TYPE() but it gives me only the type of the first element of the array. I used VFP6.0 with SP3
>>>
>>>Thank's in advance
Try:
TYPE('myarray[1]')<>'U'