Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preprocesor bug
Message
From
21/05/2006 10:47:57
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01123796
Message ID:
01123817
Views:
16
>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.

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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform