Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#define
Message
De
20/04/2018 05:59:04
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
19/04/2018 23:35:45
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Divers
Thread ID:
01659466
Message ID:
01659549
Vues:
53
>>> #DEFINEd constants are not recognized as such when used in literal strings delimited with quotation marks - " or '.
>
>Anticipate barrels of laughs if somebody #DEFINEs CR chr(13) and then uses square brackets for all their string delimiters!
>
>[A good way to
>eate mischief!]

Since the #defines go into .h files, I prefix all of them with h - so it would be #define hCR 0h0d. The number of words beginning with h being rather low, this decreases the chances for this. And I definitively don't mention UNHCR in bracketed strings :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform