Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MESSAGEBOX
Message
De
03/05/2000 11:56:28
 
 
À
03/05/2000 11:47:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00365597
Message ID:
00365604
Vues:
14
>Hey all.
>
>Maybe this is rhetorical.
>
>But why do almost all VFP code examples insist on using a #DEFINE variable for MESSAGEBOXs? For example,
>
>=MESSAGEBOX("You screwed up!",MB_ICONSTOP,"Error!")
>
>Seems to me this is counterproductive. Why not just use the doggone number 16? Otherwise, you have to remember to do the #DEFINE or attach the .H file.

You still have to remember what 16 means...or look it up. I prefer the #DEFINE. This is all personal preference.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform