Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preprocesor bug
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01123796
Message ID:
01123809
Vues:
15
You seem to be missing something. #DEFINE is normally used to assign a preprocessor value to a constant.
#DEFINE ConstantName eExpression...

Which means in effect "When I compile my executable, anytime VFP encounters the constantname it will replace it with eExpression"



>Run this example:
>
>#define INP
>#define REF
>#define OUT
>
>? INP REF OUT && Variable 'REF' is not found.
>? INP REF     && Variable 'REF' is not found.
>? INP
>
>? INP OUT REF && Variable 'OUT' is not found.
>? INP OUT     && Variable 'OUT' is not found.
>
>
>
>Why preprocesor ignoring each second constant at compiling?
>
>MartinJ
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform