Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiler does not catch this syntax error, bug?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00901990
Message ID:
00902621
Views:
12
Dawa,

>I cannnot think of any possible value in the lcAlias that would make the above statement correct.
>Could you?

It doesn't matter, once the parser sees an & macro in a line of code it stops even trying to parse the line. It marks it as needing to be compiled at runtime and goes on to the next line.

Besides we've given you several options for rewriting this particular code without needing to use & macros, which is what you'll need to do if you want full checking of your code at prg save time.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform