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,83d7c4caadb45100 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: DECAda/VMS - calling GETJPI Date: 1996/06/07 Message-ID: #1/1 X-Deja-AN: 159058634 references: <31B725E7.8A8@mmac.is.lmsc.lockheed.com> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-06-07T00:00:00+00:00 List-Id: George said " At last! An opportunity to nitpick one of the comp.lang.ada greats. (Or embarrass myself horribly -- you be the judge. :-)) I would certainly hope that the allowable range of values for type x is 0..9. ;-) Otherwise, what about this: V1 : constant x := 0; V2 : constant x := 10; if (V1 = V2) then Text_IO.Put_Line("Zero equals Ten."); end if;" A correct nitpick indeed :-) yes, of course I meant 0 .. 9 (to bad there is no way to compile and test english commentary containing odd bits of Ada :-) The code snippet above is statically illegal, because 10 is outside he base range (the type x is mod 10 in this example). P.S. sorry for missed characters and transposed characters in my posts, my keyboard is sticking and fighting, but I am finally getting it replaced next week, so that should help :-)