Ok, then, but that still leaves open the question of whether or not UDF's are evalutated by Type() in VFP8.
Do I take it from your answer that even in VFP8 (I don't have it), Type() still refuses to return a value for UDF's?
Alan
>Exactly. The following VFP8 code confirms that.
oObj = CREATEOBJECT("Empty")
>? ADDPROPERTY(oObj, "cMyProp", "")
>? TYPE([ADDPROPERTY(oObj, "cMyProp", "")])
>
>
>
>>Vlad,
>>
>>Strictly speaking, 'AddProperty' is an object method, not a VFP function (at least in VFP's terminology). So I think the difference is in that. Is there a true VFP built-in 'function' where Type() does not run the function to get the return type?
>>
>>I don't think you can compare a UDF with an object method. They're really two different animals.
>>
>>Alan
>>