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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ea5071f634c2ea8b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,CP1252 Received: by 10.204.156.2 with SMTP id u2mr4766782bkw.0.1322344744387; Sat, 26 Nov 2011 13:59:04 -0800 (PST) Path: dq5ni54857bkb.0!nntp.google.com!news1.google.com!postnews.google.com!q30g2000yqj.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: Generic-Package Elaboration Question / Possible GNAT Bug. Date: Sat, 26 Nov 2011 13:59:04 -0800 (PST) Organization: http://groups.google.com Message-ID: <3d89c1c4-747e-4ea4-b4c4-c002bc18db79@q30g2000yqj.googlegroups.com> References: <7bf9bc32-850a-40c6-9ae2-5254fe220533@f29g2000yqa.googlegroups.com> <3snehoqgs8ia$.1nobjem6g6hx6$.dlg@40tude.net> <128rdz2581345$.c4td19l7qp9z$.dlg@40tude.net> <16ipwvpdavifr$.17bxf7if7f6kh$.dlg@40tude.net> <4ecb78b1$0$6643$9b4e6d93@newsspool2.arcor-online.net> <1iofgbqznsviu$.phvidtvxlyj4$.dlg@40tude.net> <4ecbb96e$0$6581$9b4e6d93@newsspool3.arcor-online.net> <743e83a1-c442-444b-a25a-da706e9cd0f9@g7g2000vbd.googlegroups.com> <011f483a-e0d7-4475-89e6-506802e88b9b@i6g2000vbe.googlegroups.com> NNTP-Posting-Host: 24.230.151.194 Mime-Version: 1.0 X-Trace: posting.google.com 1322344744 32642 127.0.0.1 (26 Nov 2011 21:59:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 26 Nov 2011 21:59:04 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q30g2000yqj.googlegroups.com; posting-host=24.230.151.194; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0,gzip(gfe) Xref: news1.google.com comp.lang.ada:19181 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Date: 2011-11-26T13:59:04-08:00 List-Id: On Nov 25, 3:25=A0am, Yannick Duch=EAne (Hibou57) wrote: > Le Thu, 24 Nov 2011 23:48:46 +0100, Shark8 a > =E9crit: > > > Just like, in simple terms, we can disregard > > worrying about division-by-zero errors in the following code: > > > If Input_2 =3D 0 Then > > =A0-- If Input_2 is Zero here we have a BIG PROBLEM. > > =A0Return Input_1 / Input_2; =A0-- Return the division, if it is > > possible... > > Else > > =A0 Return Input_1'Base'Last; -- Otherwise, return the maximum value. > > End If; > > You meant `If Input_2 /=3D 0 Then` ? > > -- > =93Syntactic sugar causes cancer of the semi-colons.=94 [1] > =93Structured Programming supports the law of the excluded muddle.=94 [1] > [1]: [Epigrams on Programming =97 Alan J. =97 P. Yale University] Yes... you caught me in a case of typing too fast and not proofreading.