Hi Carl ---
Hmmmm....
I suppose you could test with ALEN() and trap all error code 232 (var is not an array error message). Cheezy but it would work.
>I'm in the process of writing a function that should accept a variety of different types of variables. The problem I'm having is I don't have a way of knowing if the variable is a ARRAY or just a regular variable. For exampe if i use the TYPE() function on the following variables it C for both of them.
>
>lcString = "akdflkjaklf"
>
>Dimension laString(3)
>Store "asda" To laString(1)
>Store "aslkd" To laString(2)
>Store 5 To laString(3)
>
>TIA for any replies.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05