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: Hyman Rosen Subject: Re: scope and/or parameters (beginner) Date: 1999/04/14 Message-ID: <3714EEC5.689CCFBB@prolifics.com>#1/1 X-Deja-AN: 466415624 Content-Transfer-Encoding: 7bit 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> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@panix.com X-Trace: news.panix.com 924118656 15697 209.49.126.226 (14 Apr 1999 19:37:36 GMT) Organization: Prolifics Mime-Version: 1.0 NNTP-Posting-Date: 14 Apr 1999 19:37:36 GMT Newsgroups: comp.lang.ada Date: 1999-04-14T19:37:36+00:00 List-Id: 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.