Re: private functions



Richard wrote:
Eric Sosman <esosman@xxxxxxxxxxxxxxxxxxxx> writes:

Richard wrote:
"Joachim Schmitz" <nospam.jojo@xxxxxxxxxxxxxxxxxx> writes:

Ronald Bruck wrote:
Sigh. It's been awhile since I've programmed in C, but I'm SURE that
you can have a function whose scope is purely within another function.
You simply can't do this in C.
Nonsense. Of course you can do this in C. Non "standard" extensions are
still "C" I am afraid.
Nonsense. And if you're afraid, cower.

So people using nested functions are not writing C?

No, no more than those who write `GOTO 10' are writing C.

Don't be so ridiculous.

Don't be daft.

Oh, and tell IBM.

http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=/com.ibm.xlcpp8l.doc/language/ref/nested_functions.htm

Quoting from the above: "The language feature is an
extension to C89 and C99, implemented to facilitate porting
programs developed with GNU C."

--
Eric Sosman
esosman@xxxxxxxxxxxxxxxxxxxx
.



Relevant Pages

  • Re: private functions
    ... Eric Sosman writes: ... you can have a function whose scope is purely within another function. ... Nonsense. ... And if you're afraid, cower. ...
    (comp.lang.c)
  • Re: private functions
    ... Richard wrote: ... you can have a function whose scope is purely within another function. ... still "C" I am afraid. ... Eric Sosman ...
    (comp.lang.c)
  • Re: private functions
    ... you can have a function whose scope is purely within another function. ... Nonsense. ... Non "standard" extensions are ... still "C" I am afraid. ...
    (comp.lang.c)
  • Re: Nicolas Croiset vs DVB-H
    ... >> Richard L wrote: ... As a diversion for Steve while there, ... accusations that I'm obsessed by DAB, but when I'm not sat behind my PC ... I forget all about DAB, which, I'm afraid, suggests that I'm not ...
    (alt.radio.digital)
  • Re: Mr Dawkins new book?
    ... Parsing that, it seems to mean that you are calling Richard a liar, ... And, if you're accusing me of ad hominem abuse, then that is also ad ... I'm afraid I'm not going to get into analysing the minute details of what ... If, in making that complaint, I have been ...
    (uk.religion.christian)