(e-mail address removed) said:
I must have missed where you defined "global variable".
I did not. Did I say I did?
You mean "global variable"?
No, "file scope object".
Oh, you mean "file scope objects". You don't seem to have any difficulty
understanding what I meant by the term, as you yourself have agreed.
Yep. But, while we are talking about unambiguous terms,
if you have this declaration outside of any block or list
of parameters:
int a[10];
is a[1] a file scope object? I don't think so, yet I can't
see why one couldn't think so. It's certainly not as stupid
as "wide network" thing. I personally would call stupid
anyone who claimed a[1] was a file scope object here. But
I call stupid anyone who claims that there are no global
variables too, so you may disagree.
I
note, however, that you continue to fail to explain what *you* mean by
"global variable". Why is that?
Because I don't want to (don't pull it out and quote
without the following text, either snip it all or
don't break or cut it). Really, it's pretty hard:
I am not sure how to say that it's a variable which
refers to an object declared in a declaration in which
the identifier has file scope and external linkage
(and this one is where the ambiguity lives). I have no
idea how to define "variable". It's something like:
a declared object. As opposed to elements of arrays
or allocated objects. But I wouldn't really try to
come up with a strict definition. It simply doesn't
make sense: humans (except you) understand what it
means, compiler doesn't care - I got to think about
objects and identifiers when talking to compiler.
So we can't work out what we mean by "global variable", it seems.
Yes we can. Given a good will. I can talk to someone,
and I can ask him to clarify what he means in case of
misunderstanding. But only you can pull "wide network"
out of "global variable".
How do you know? We don't have a definition for the term yet.
How do I know? I don't. How do I know that there
are no aliens in my fridge? I don't. But I tell
you what, there are no aliens in my fridge. And
the OP didn't mean something related to "wide
network". Now, you didn't say a single time (even
though you were asked few times) that you did think
the OP *could* mean anything like that. Of course,
you didn't think so! But, "we don't have a definition".
Yeah.
I'm still trying to find out what you mean by "global variable", but all
you do is come up with insults and evasions. I am beginning to suspect
that you don't actually know what you mean.
Come on, this is even cheaper than insults. Let's just
stop it, shall we? I won't call you a smart ass, and
you won't have to get out of your skin in order to
demonstrate how "wide network" is reasonable in a thread
in comp.lang.c about global variables in a C program.
You get the last word and I promise not to read it until
after tomorrow.
Yevgen