From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a1a88c4d509f6381 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: scope and/or parameters (beginner) Date: 1999/04/14 Message-ID: <7f2vdl$uf6$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 466423666 References: <37064309.889106243@news.dsuper.net> <37084459.8616007@rocketmail.com> <370b0c99.1137352783@news.dsuper.net> <7f2435$54d$1@nnrp1.dejanews.com> <37149AE9.883147B6@prolifics.com> <7f2ar3$b6l$1@nnrp1.dejanews.com> <3714EEC5.689CCFBB@prolifics.com> X-Http-Proxy: 1.0 x2.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Apr 14 20:56:26 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-04-14T00:00:00+00:00 List-Id: In article <3714EEC5.689CCFBB@prolifics.com>, Hyman Rosen wrote: > dennison@telepath.com wrote: > > I don't think "const" exists in all versions of C. My old C reference book > > (circa 1984) doesn't list it as a reserved word, or anywhere at all for that > > matter. I suspect that means it did not exist in K&R C. Was it introduced in > > ANSI C? In C++? > > > > I don't look at too much C code myself, but the first time I ever saw "const" > > in C source was about 3 months ago, and it was for a C++ capable compiler. > > I advise you to find a thread in this group related to Ada83, do the appropriate > substitutions, and apply it to yourself. As I said, I normally expect Robert > Dewar to know more about such things. He seldom goes off on diatribes against > other languages. I was asking a serious question I'd like to know the answer to. Perhaps it would be better asked in a C group though. If anyone wants me, I'll be off applying substitutions to myself... -- T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own