>This is because i don't think that Albert understands how TYPE() works; TYPE() takes the character expression it is passed, evaluates it, and returns the type of the evaluated expression. I'd expect TYPE('TRANSFORM(I)') == VARTYPE(TRANSFORM(I)), since TYPE('TRANSFORM(I)') evaluates the string TO "TRANSFORM(I))", gets the result of TRANSFORM(I), "4.5", , and checks it's type, while TYPE(TRANFORM(I)) evaluates the result of the function, "4.5", gets the result of 4.5, and checks it's type.
Actually I DO know. It was late when I posted and I didn't notice the missing quotes.
>
>IOW, TYPE() and VARTYPE() operate exactly as designed and expected.
I didn't say anything about not working as designed. I have no problem with how they work, I was just pointing out a difference.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement