Yes. The only time I use type() anymore is to check if a variable is an array.
>That's why I like the new VARTYPE() command
>
lnValue = 10
>lnValue = .NULL.
>?VARTYPE(lnValue)
>** X
>It also makes for less coding when checking object existence.
>
>IF TYPE("loObj")="O" AND !ISNULL(loObj)
>* use
>IF VARTYPE(loObj)="O"
>
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao