I have extracted the 'print' section of my program to a separate
file. Print uses information from test(). When I try to compile,
it fails because test() is unknown to Print.bas at this point.
How can I get around this?
QM.bas:
#COMPILE EXE
#REGISTER NONE
#DIM ALL
#INCLUDE "Print.bas"
'-----------------------
FUNCTION PBMAIN
DIM test(1:2) as string
------------------
Henning
file. Print uses information from test(). When I try to compile,
it fails because test() is unknown to Print.bas at this point.
How can I get around this?
QM.bas:
#COMPILE EXE
#REGISTER NONE
#DIM ALL
#INCLUDE "Print.bas"
'-----------------------
FUNCTION PBMAIN
DIM test(1:2) as string
------------------
Henning
Comment