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:
00902867
Views:
15
Dawa,

>Would you say that it would be helpful to warn a programmer?

Oh, it'll warn you, trouble is the & macro delays that warning until runtime. *g*

Like I said before it is impossible for the compiler to predict what text is going to be in that memvar, so it can't do anything about it until that line of code is really compiled at runtime.
df (was a 10 time MVP)

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

Click here to load this message in the networking platform