>Hi Vlad
> That did the trick. I did a TYPE(aAR(3)) and it return a "N" so I didn't
>bother to try VAL(). I quess TYPE() returns the type of data that is held in
>the var not the type of the var. Thanks again.
TYPE() is a funny little guy, you need to pass it the name of a variable you want the value of, and if there is no variable matching that name, it returns the type of that name..
For example
x= 1
y= "1"
? TYPE(x)
=> Error
? TYPE(y)
=> N
? TYPE("x")
=> N
? TYPE("y")
=> C
So be sure when using TYPE() to pass the variable you want the type of as its name, not its value.