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: <37149AE9.883147B6@prolifics.com>#1/1 X-Deja-AN: 466291310 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> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@panix.com X-Trace: news.panix.com 924097179 3022 209.49.126.226 (14 Apr 1999 13:39:39 GMT) Organization: Prolifics Mime-Version: 1.0 NNTP-Posting-Date: 14 Apr 1999 13:39:39 GMT Newsgroups: comp.lang.ada Date: 1999-04-14T13:39:39+00:00 List-Id: Robert Dewar wrote: > A C programmer making the same choice would have two > approaches. > ... > Which do you think would be chosen (I would guess neither, Correct. A C programmer would, of course, simply declare the parameter as being 'const', then insert the test exactly as you did in Ada. Hmph. I'm surprised that you, of all people, are so parochial. You usually aren't.