>>FOO(12) ------------> 0 >>FOO("abcd") --------> "" >>FOO(DATE()) --------> { } >>FOO(DATETIME()) ----> { :}>>etc.
>nVal = CAST("" AS i) >dVal = CAST("" AS d) >cVal = CAST("" AS c) >tVal = CAST("" AS t) >Shoot......I forgot about losing the VFP version when you do a preview of the message. This will be in VFP 8 so CAST is unavailable.