Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp6 compiler not reporting error
Message
From
03/10/2001 03:47:03
 
 
To
03/10/2001 03:12:58
Stuart Ramsey
Medical Business Systems
East Gosford, Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00563448
Message ID:
00563457
Views:
16
This message has been marked as the solution to the initial question of the thread.
Hi!

This is a change in the VFP7 language. Comma is required. This is because without comma syntax would cause conflicts with a new VFP7 feature to define type of the variable (for IntelliSense and for COM object interfaces).

BTW, I did never used syntax without comma, because it drops readability of the code...

>We upgraded to vfp 7.0 and immediatley compiled one of our larger applications to a vfp7 exe file and received 2 pages of syntax errors
>The compile and build of the exe in vfp 6 is error free
>The errors in VFP 7 were, missing commas, between local variable declarations
>eg.
>******************************
>LOCAL lnanswer, lncount llok
>******************************
> ^-missing comma
>
>At run time occasionally some of my users would report an erroneous error message that i was unable to trace to successfully
>Has any one else come across this situation
>Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform