Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Bug/Feature?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00749812
Message ID:
00749874
Views:
28
Randy,
As Jim posted, this is a noted change. In VFP 7, you can define variables as specific types for Intellisense purposes. Ex.
local loform as Form
When you type loform., you get the PEM listing for a form. Because the AS clause has spaces in it, the comma needed to be there to delimit variable entities.

Regards.

>While converting our VFP6 app to VFP7 everything seemed to go very smoothly, until..........
>
>It seems we missed a comma on a line of code in VFP6 that VFP7 found (and correctly as far as I can tell).
>
>Anyway, as an example the code line that fails in 7 and works in 6 is:
>
>PUBLIC lcMyString1, llMyLogical, laMyarray[10] laAnother[7]
>
>The error occurred with a Syntax error due to no comma between the two arrays.
>
>I decided to look a little further and tried the same statement with NO commas from the command window. Works in 6. Not in 7.
>
>Just making an observation and thought I'd share it.
>
>Randy W Fogg
>BDK Technologies
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform