>I don't like the VARTYPE() function personalty. Execute the following code and you will see its limitations.
>
>? TYPE("_screen.Forms.BadProp") && Returns "U"
>
>? VARTYPE(_screen.Forms.BadProp) && Returns Error "Unknown member FORMS"
It's not intended use of the VARTYPE() function. The VARTYPE() function was originally introduced as fast alternative to TYPE() in cases when variable/property exists. Later per developers requests it was extended to handle more case but it still not replacement for the TYPE() function in cases when variable/property may not exist.
--sb--