Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Breaking VFP6 code in VFP7
Message
From
19/06/2001 09:25:12
 
 
To
19/06/2001 09:12:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00520968
Message ID:
00520978
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
>Hi all,
>
>I was wondering if there is a list of VFP6 conventions/syntaxes that are made obsolete in VFP7. I did a direct recompile of a VFP6 project using the VFP7 Beta and I got an error on this VFP6 convention:
>
>
>  local dimension laTemp(1)
>
>

That's because that line didn't do what you thought it did in VFP 6. It created two variables, a scalar called dimension and an array called laTemp. VFP 7 no longer permits variable declarations without commas between them, so it found this error.

As for file format issues, the menu format has changed. If you open a VFP 6 MNX file in VFP 7, it'll get converted and you won't be able to open it in VFP 6. If you turn on dbc events for a database in VFP 7, you can't open it in 6. However, turning off dbc events makes it available to 6 again.

Other than those two, all file formats are compatible.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform