To Antonio: moving to harbour.
Posted: Wed Jul 23, 2014 9:38 am
Antonio:
I'm moving an old, big, text program (over 25,000 lines) from 16bit to 32bit. Reports are almost complete (graphical). The data entry will remain on this iteration, text based. I'm using xHarbour but I'm banging my head against the wall with, which I think are, unexpected behavior / bugs. For example:
Everything compiles ok (all PRGs), but at runtime I'm getting:
Under 16bit this works with no problem at all. Now, the ONLY reason that I use xHarbour is that via the xBuild tool I'm able to put all PRGs (over 40) and compile them as a whole. Some of them share the same procedure / function names which are only relevant to the PRG that they're in (STATICs), so I can't #include them from other PRG.
I need a way to compile this with harbour in a way similar to the old Rmake tool:
Being honest with you, don't have a clue on how to make this. I have to finish this project in less than a month.
I'm moving an old, big, text program (over 25,000 lines) from 16bit to 32bit. Reports are almost complete (graphical). The data entry will remain on this iteration, text based. I'm using xHarbour but I'm banging my head against the wall with, which I think are, unexpected behavior / bugs. For example:
- Code: Select all Expand view
- FUNCTION InvBalan (cPartNo, nQty)
#include "Tablefld.ch" (this file has a statement: FIELD Inv_qty IN Parts)
.
.
REPLACE Inv_qty WITH Iv_qty + nQty
.
.
RETURN .T.
Everything compiles ok (all PRGs), but at runtime I'm getting:
- Code: Select all Expand view
Subsystem Call ....: BASE
System Code .......: 1003
Default Status ....: .F.
Description .......: Variable does not exist
Operation .........: INV_QTY
Arguments .........:
Involved File .....:
xHarbour version...: xHarbour 1.2.3 Intl. (SimpLex) (Build 20131030)
xHarbour built on..: Aug 22 2013 08:16:17
C/C++ compiler.....: Pelles ISO C Compiler 3.0 (32 bit)
Multi Threading....: YES
VM Optimization....: 2
Under 16bit this works with no problem at all. Now, the ONLY reason that I use xHarbour is that via the xBuild tool I'm able to put all PRGs (over 40) and compile them as a whole. Some of them share the same procedure / function names which are only relevant to the PRG that they're in (STATICs), so I can't #include them from other PRG.
I need a way to compile this with harbour in a way similar to the old Rmake tool:
- Code: Select all Expand view
- Rmake Project /dVAR1 /dVAR2...
Being honest with you, don't have a clue on how to make this. I have to finish this project in less than a month.