WZ> $INCLUDE "c:\lib\PB32.INC" ' link PB32 library 'x = (DtaSize)
print
WZ> (DtaTime); 'print (DtaDate);
Something reformatted your code, but I think I got it reconstructed
right.
The real problem is that there is no DECLARE statement for SplitDate.
If you add this, it will compile:
DECLARE SUB SplitDate(BYVAL InDate AS STRING, Month AS INTEGER, _
Day AS INTEGER, Year AS INTEGER)
So why is there no DECLARE statement for it? It looks like all the
DECLAREs for DATEUNIT.BAS got left out of PB32.INC.
Why does it compile if you unREM the calls to DtaSize, etc? I'm not
sure. It must have something to do with the fact that they call other
procedures in DATEUNIT. Without them, DATEUNIT doesn't get linked in,
and SplitDate can't be found. Apparently if DATEUNIT does get linked,
the compler can find SplitDate, even without a DECLARE statement.
You would probably want to make a fixed version of PB32.INC that
includes DECLAREs for all the public procedures in DATEUNIT.BAS.
* RM 1.31 1209 * Anton Monroe 70304.3663@compuserve.com
--- FidoPCB v1.4 [ff013/c]
---------------
* Origin: Sound Advice - 24 Nodes (816)436-4516 (1:280/333)
|