Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preprocesor bug
Message
De
21/05/2006 13:49:19
 
 
À
21/05/2006 10:47:57
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
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:
01123833
Vues:
14
>>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?
>
>Better question: why didn't it catch that your #define statements are bad? The expressions are missing. Yet it compiles without a hitch.
>
An empty is not a bad #define.
A string preprocessor has to allow to define empty strings.

>I tried inserting a wait statement between the #define lines, just to see whether it catches anything from the next line, but it doesn't, the result is still the same.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform