Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP8 Tip
Message
From
07/03/2003 18:42:37
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00762979
Message ID:
00763128
Views:
30
>>>>>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?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform