Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #75942

Re: A question on variable scope, coming from a relative beginner

From James Kuyper <jameskuyper@verizon.net>
Newsgroups comp.lang.c
Subject Re: A question on variable scope, coming from a relative beginner
Date 2015-11-13 08:08 -0500
Organization A noiseless patient Spider
Message-ID <n24n7f$vb3$1@dont-email.me> (permalink)
References <n230ii$pmi$1@news.albasani.net> <n231vv$kkj$1@reader1.panix.com> <n239hn$962$1@news.albasani.net> <n23avr$vq4$1@dont-email.me> <n23oio$l5a$1@news.albasani.net>

Show all headers | View raw


On 11/12/2015 11:22 PM, Jon Rossen wrote:
> On 11/12/2015 4:33 PM, James Kuyper wrote:
>> On 11/12/2015 07:06 PM, Jon Rossen wrote:
>>> On 11/12/2015 1:57 PM, John Gordon wrote:
>> ...
>>>> The usual purpose of the 'extern' keyword is to access a variable that
>>>> is declared in a separate compilation unit (i.e. a separate c file).
>>>>
>>>
>>> Yes, I realize that is one of the purposes of extern (separate module),
>>
>> What other uses do you think 'extern' has?
>>
> 
> Let me go out on a limb here:  Probably none, I was just expressing this 
> in an imprecise fashion. ...

Correct.

> ... For some reason you didn't want to just 
> correct me but seem to want to go through some sort of Socratic Method 
> kind of deal.  That's fine, and I appreciate your assistance
> but why not just take the direct route?  :-)

Because I wanted to figure out what your misunderstanding was, before I
attempted to correct it. It seemed pretty clear from your original
message that there was something you were misunderstanding, but it
wasn't clear to me what it was.
-- 
James Kuyper

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A question on variable scope, coming from a relative beginner Jon Rossen <jonr17@comcast.net> - 2015-11-12 13:32 -0800
  Re: A question on variable scope, coming from a relative beginner John Gordon <gordon@panix.com> - 2015-11-12 21:57 +0000
    Re: A question on variable scope, coming from a relative beginner Jon Rossen <jonr17@comcast.net> - 2015-11-12 16:06 -0800
      Re: A question on variable scope, coming from a relative beginner James Kuyper <jameskuyper@verizon.net> - 2015-11-12 19:33 -0500
        Re: A question on variable scope, coming from a relative beginner Jon Rossen <jonr17@comcast.net> - 2015-11-12 20:22 -0800
          Re: A question on variable scope, coming from a relative beginner James Kuyper <jameskuyper@verizon.net> - 2015-11-13 08:08 -0500
  Re: A question on variable scope, coming from a relative beginner Richard Heathfield <rjh@cpax.org.uk> - 2015-11-12 21:57 +0000
    Re: A question on variable scope, coming from a relative beginner Jon Rossen <jonr17@comcast.net> - 2015-11-12 18:47 -0800
      Re: A question on variable scope, coming from a relative beginner James Kuyper <jameskuyper@verizon.net> - 2015-11-12 22:19 -0500
        Re: A question on variable scope, coming from a relative beginner Jon Rossen <jonr17@comcast.net> - 2015-11-12 22:05 -0800
          Re: A question on variable scope, coming from a relative beginner Richard Heathfield <rjh@cpax.org.uk> - 2015-11-13 07:10 +0000
          Re: A question on variable scope, coming from a relative beginner James Kuyper <jameskuyper@verizon.net> - 2015-11-13 08:33 -0500
            Re: A question on variable scope, coming from a relative beginner Tim Rentsch <txr@alumni.caltech.edu> - 2015-11-13 12:24 -0800
            Re: A question on variable scope, coming from a relative beginner Keith Thompson <kst-u@mib.org> - 2015-11-14 11:58 -0800
              Re: A question on variable scope, coming from a relative beginner James Kuyper <jameskuyper@verizon.net> - 2015-11-14 15:27 -0500
  Re: A question on variable scope, coming from a relative beginner Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-11-12 14:00 -0800
    Re: A question on variable scope, coming from a relative beginner Richard Heathfield <rjh@cpax.org.uk> - 2015-11-12 23:55 +0000
  Re: A question on variable scope, coming from a relative beginner Keith Thompson <kst-u@mib.org> - 2015-11-12 17:11 -0800
    Re: A question on variable scope, coming from a relative beginner Jon Rossen <jonr17@comcast.net> - 2015-11-12 20:39 -0800
  Re: A question on variable scope, coming from a relative beginner Jon Rossen <jonr17@comcast.net> - 2015-11-12 20:38 -0800
    Re: A question on variable scope, coming from a relative beginner Keith Thompson <kst-u@mib.org> - 2015-11-12 22:13 -0800
      Re: A question on variable scope, coming from a relative beginner Jon Rossen <jonr17@comcast.net> - 2015-11-15 21:17 -0800

csiph-web