Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XBASE++ Migration Path 1

Status
Not open for further replies.

wildcard

MIS
Mar 9, 2001
67
NZ
Have finally made a decision for the future and
bought XBASE++. I have squillions of lines of
CA-CLIPPER 5.2 code and do not know where to start
with conversion (but I am surely going to get stuck
right in!!!)

Any tips would be greatly appreciated.
 
Wildcard;

I just converted 80000 lines of clipper code to xbase. It wasn't bad at all- Be aware that xbase does some things a little differently. For instance the picture'Y' statement
does not work the same as in clipper and can lead to some real problems. To insure that a "Y" is input your picture clause should be picture '@! L'. Also you should not use the dbsetindex() function. It can be flaky- at least it was for me- use set index to or ordlistadd(). Also,
you should compile with the switch /O:nospeed.
If you do not use this switch your program will simply abort if it encounters any divide by zero situations. When I mean abort I mean it just terminates- no error log just goes back to the desktop. Sample:
xpp myprog /O:nospeed

If you use any low level file functions be aware that if you use fcreate() you do not have to issue an fopen(). Fcreate does both.

You should definately look at express++ from Donnay Software. It will let you into the world of gui and windows printing pretty quickly. I also got some great stuff from their webboard.


These are just a few of the frustrating things that happened to me. If you have any ??s I am at BVOLZ3850@aol.com.

 
One path you might want to concider is the upcomming XBase++ U.S. Developers Conference which is to be held in Manchester, NH on October 15 - 17 , 2001.

There will be speakers from Alaska and many other 3rd party products. Alaska will be previewing the new 2.0 with it's IDE.

In addition to the 3 day conference there will be a workshop on Sunday October 14th.

For details check out the website at:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top