Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro compiler error
Message
From
06/02/2013 12:19:56
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
06/02/2013 10:04:52
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01565298
Message ID:
01565311
Views:
65
Hi Rick

I've seen that many times. I am a fan of leaving macro-substitution as the second to last way to execute code (the last being execscript), so I don't create those errors often. I also recommend always adding the period as a terminator. The compiler can't catch them all.

>In at least FoxPro for Windows 2.6 and Visual FoxPro 9, the following syntax errors are not caught by the compiler at compile time, but only by the execution engine at runtime:
>
>
missed1 = 'this and &that''
>caught1 = 'this and that''
>missed2 = "this and &that""
>caught2 = "this and that""
>
>
>Has anybody else seen this? It seems that if the string has a macro, it ignores the incorrect syntax of the mismatched quotes.
>
>Best regards,
>Rick C. Hodgin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform