>I know in VFP6.0 we now have a command that replace the old Type() command.
>
>But what's the name of that command?
VARTYPE() - it doesn't replace TYPE(), it evaluates the type of an expression rather than the string representing the expression, has slightly different returns for null and undefined expressions, and can smoke when referencing properties of non-existant objects. When it does work, it runs much faster than TYPE() because of the lack of a need to EVAL() the string provided to get the type of the expression, but does blow up with double-indirected non-existant values.