Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MESSAGEBOX
Message
 
 
À
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:
00365623
Vues:
19
IMO it's a whole lot easier to remember the names than the numbers. In general, #DEFINE's make code more readable, too.

>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.
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform