Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MESSAGEBOX
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00365597
Message ID:
00365613
Vues:
17
Just used to. It stands out better.

>Curious why you guys put the "=" in front? Readability, old habit from when you had to, or...?
>
>Michelle
>
>
>>>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.
>>
>>=MESSAGEBOX("Completely agree with you, John", 0 + 48, "#DEFINE sucks!")
>>:)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform