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:
00902529
Views:
19
Dawa,

It can't. If a line of code contains any & macros, that line is not parsed/compiled until runtime, because the actual string being substituted is not known until then.

>That makes very much sense to me. But it seems to me that it should catch the error on line 6 in the code below regardless of macro subtitution of the alias name. Clearly, a comma right in front of FROM is incorrect syntactically.
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