Could be, but I think Hilmar's explanation is even more rational. It would be interesting to hear MS explanations about it. I'm almost sure, Hilmar is correct.
>Hi Vlad,
>
>My guess is that TYPE() function doesn't evaluate UDF's for performance reason.
>
>>Hi!
>>
>>For me it appears as a defect. The most stranmge is that built-in VFP functions are accepted by type() function correctly, for example:
>>? TYPE("alltrim('00023')")
>>returns correct value "C".
>>
>>Well, I see you found a solution alredy < s >. BTW, you can mark your own message as answer to the thread :-)
>>
If it's not broken, fix it until it is.
My Blog