>Hi Mike,
>
>I saw your comments about xHarbour and wondering where I can get my hands on some intro stuff on the language. It's been years since I've done anything with clipper. I used to have clipper 5 years ago but didn't do much with it since Visual Foxpro had come out.
>
>
>thanks,
>
>Don
Hi Don,
Info at
http://www.xharbour.com and
http://www.xharbour.org There is some header info that needs to be included in the main procedure for xHarbour to use compound indexes. The dos utilization actually preprocesses the .prg files into C compatible files which are then compiled into a .exe file using a free Borland C command line compiler.
Typical Clipper utilization is to use files with a .prg extension and run the compiler at the initial .prg. xHarbour requires a procedure main at the header of the main procedure and a procedure statement in all called .prg's. Variables used will cause a lot of warning messsages but will not cause a failure of the compile.
REQUEST DBFCDX
REQUEST DBFFPT
REQUEST HB_NOMOUSE
REQUEST ORDKeyno, ORDKeycount
Procedure Main
RDDSETDEFAULT("DBFCDX")
MEMVAR GetList
This is the header I use at the header of my main .prg, the MEMVAR GetList declaration is used in all .prg's to supress some of the undeclared warnings during the compile.
Hope this helps.
Regards,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney