πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2528

Re: difference between STUFF *stuff & STUFF stuff[]???

#2528
From: John Grant
Date: Wed, 06 Jan 1993 22:08
21 lines
1231 bytes
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
Technical Details
Message-ID: <1993Jan6.220841.28346@emr1.emr.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!torn!nott!emr1!jagrant
References: <1993Jan6.084522.25921@emr1.emr.ca> <1993Jan6.151741.29382@kth.se>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!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