> > I wrote a large application in FoxBASE/Mac 2.01...
> > 1. If I rewrite the code for FoxPro 2.5, will it also run under 2.6?
> > 2. Should I first obtain version 2.6, before starting?
> > 3. Once this is done, anyone know whether a second rewrite, for Visual
> > FoxPro 3.0, would be worth the trouble? Will be a smaller or a bigger
> > job? (I assume I cannot port directly, i.e. that Visual FoxPro cannot
> > handle or translate any FoxBASE/Mac code)
> When they first released foxpro 2.5 win they claimed that a program
> written solely within foxpro and using the screen generator to create
> all screens would work exactly between windows and mac.
Yes, they claimed this. It was a bald-faced, shameful lie. I remember
when FoxPro Mac
came out and I ran their migration app on my FoxBASE program, believing
it would be no
big deal. Imagine my surprise when it flagged about 25% of my code as
not supported in
the new FP; in some cases it couldn't even recommend a place to look in
the manual because
there was functionality lost between the versions (e.g. the ability to
capture a picture
of the active window). All menu code had to be completely redone and
most of the screens
had to be completely redone. And what was left was unable to take
advantage of most of
FoxPro's desirable features, notably Rushmore Optimization which is the
thing since sliced bread.
I think FoxPro Mac is really a decent product (once you've adjusted to
things about it, of course), but unless you specifically want to take
advantage of things
like Rushmore and ODBC, there's no reason to migrate a FoxBASE program
to it. And if you DO
want to take advantage of the new features, you'll have as much
migrating as rewriting to do.
As far as version 2.5, go directly to version 2.6 -- there only a few
features added between
the versions (and those are largely undocumented) but there's quite a
lot of bug fixing. My
experience is that 2.5 is far less stable.
Visual FoxPro does a great job converting 2.6 projects but is such a
huge jump from FoxBASE Mac
that you'll have to do a complete rewrite. FoxBase is sort of like a
sporty little vintage
MG compared to VFP's lumbering 18-wheeler, but if you've got heavy
hauling to do the choice is
easy. You mentioned that this is basically a hobby for you. VFP could
take 6 months just to get
to what I consider a basic level of proficiency, so unless you think
you'll have fun learning
object-oriented programming and thinking up slick GUI tricks, it's
probably not worth the time.