Sk> I have create a slight monster, can someone help.
Sk> I have a big file that contains all my code for a project.
Sk> The problem is that almost all of the modules in the
Sk> code use a set of global data and structures.
Sk> When I try to split the file into smaller pieces I get
Sk> errors.
Sk>
Sk>
Sk> I tried leaving the global stuff in all files and get
Sk> Link errors stating multiple definitions
Sk>
Sk>
Sk> I tried leaving it out and get compiler errors.
If you really need to you can alway's declare the defined variables as
external and declare THE SAME variables in another include file (to be
included in your subroutines) but DO NOT DEFINE them.
Therefore you will no longer have the multiple definitions, but you still
have the declared variables that have their values because they were
already declared external...
Greetings...
Paul.
Today's fortune:
"He's just a politician trying to save both his faces..."
--- Just one of those day's, in the Hague, Holland