Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Splitting up global with SAS 6.2?

0 views
Skip to first unread message

Paul Weterings

unread,
Mar 13, 1993, 1:28:14 AM3/13/93
to
Now what did 57577 say again?, thank god my computer still remembers...
She tells me it was something about: $_Splitting up global with SAS 6.2?$_

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

0 new messages