Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP8 Tip
Message
De
07/03/2003 18:42:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00762979
Message ID:
00763128
Vues:
29
>>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform