Hi Albert,
>i =4.5
>? type(transform(i))
>? vartype(transform(i))
>
>output:
>N
>C
Some weeks (months?) ago I posted a simple rule for both functions:
VARTYPE(x) = TYPE( EVALUATE(x) )
With TYPE() the TRANSFORM() function is evaluated before, but not with VARTYPE(), IOW:
TYPE(TRANSFORM(i)) = TYPE("4.5") = VARTYPE(4.5) = "N"
VARTYPE(TRANSFORM(i)) = VARTYPE("4.5") = "C"
Christof
--
Christof