Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting from fox26 to ????? (Viz Foz???)
Message
From
22/06/1998 15:31:17
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00109907
Message ID:
00110666
Views:
33
>This is where my experience differs from yours. My app works very well in DOS. While upgrading it to VFP I was surprised that I litterally had to rewrite every single line ..., that is not necessarily a VFP problem, but it _is_ a surprise no less.

You know the story of two kinds of lazy programmers... so when I realized how much work it is to port my forms from FPD from VFP, and seeing I'll have to do same things over and over, I sat and wrote a converter. My 2.6 screens were using alias.field, but the generated program always made it m.field (used insert/gather), so all the Valid and other functions used m.field syntax; this meant I had to accomodate for custom methods on my forms and parse/replace all the function/procedure/variable names and port them to new syntax (thisform.field.value instead of m.field, thisform.routine() instead of routine() etc), but once I got that to work, it worked like charm. Maybe writing such a thing would be an overkill in your case, but I sure needed that - I'm planning to convert some 40 apps with few hundred forms.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform