>>>>>It's also works in WAIT WINDOW. In addition, WAIT WINDOW can show any type of variable. For example,
>>>>>WAIT WINDOW _VFP
>>>>>WAIT WINDOW _SCREEN.Top
>>>>>WAIT WINDOW DATE()
>>>>
>>>>Somehow, that one slipped by me. It's cool.
>>>>
>>>>Except it's going to allow us to become lazy about data types. <g>
>>>
>>>Nah, they intenationaly did it half-way to save us. :) VFP wouldn't do conversion if you try to combine string with some other data type. The following wouldn't work.
WAIT WINDOW "Today: " + DATE()
>>
>>So why didn't they implement it like "?". You can do ? DATE(),nValue,"textstring" and they all are printed correctly.
>
>Your ? example prints three distinct expressions. WAIT WINDOW accepts only one expression.
I know. So why can't WAIT WINDOW accept a comma separated list of expressions, the same as "?" ?
Shouldn't interfere with the syntax any, as nothing in the WAIT WINDOW uses commas. The DEBUGOUT command used to have the same limitation and it was modified, why not WAIT WINDOW?