home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!spool.mu.edu!torn!nott!emr1!jagrant
- From: jagrant@emr1.emr.ca (John Grant)
- Subject: Re: difference between STUFF *stuff & STUFF stuff[]???
- Message-ID: <1993Jan6.220841.28346@emr1.emr.ca>
- Organization: Energy, Mines, and Resources, Ottawa
- References: <1993Jan6.084522.25921@emr1.emr.ca> <1993Jan6.151741.29382@kth.se>
- Date: Wed, 6 Jan 1993 22:08:41 GMT
- Lines: 21
-
- In article <1993Jan6.151741.29382@kth.se> d88-jwa@dront.nada.kth.se (Jon WΣtte) writes:
- >In <1993Jan6.084522.25921@emr1.emr.ca> jagrant@emr1.emr.ca (John Grant) writes:
- >
- >> static STUFF stufftable[MAXSTUFF];
- >> and in another module that referenced it:
- >> extern STUFF stufftable[];
- >>Ok, that was fine and everything worked ok.
- >
- >I'm not sure that it should. Since stufftable is explicitly
- >static to a module (file) you shouldn't have gotten at it
- >from anywhere else. If you did, that's a bug.
-
- Sorry, that was my mistake. I don't have 'static' in my code.
- It was just a typo when posting this question. The original
- question still stands, though.
-
- John.
- --
- John A. Grant jagrant@emr1.emr.ca
- Airborne Geophysics
- Geological Survey of Canada, Ottawa
-