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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7be3870dd9c9518f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-17 10:25:13 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Alfred Hilscher Newsgroups: comp.lang.ada Subject: Re: CONSTRAINT_ERROR - why? Date: Tue, 17 Dec 2002 19:20:43 +0100 Organization: T-Online Message-ID: <3DFF6AFB.A536A0CE@t-online.de> References: <3DFB7841.F898C02@t-online.de> <3DFB8495.A655C512@t-online.de> <616gta.hk3.ln@beastie.ix.netcom.com> <3DFC878D.B6966C37@t-online.de> <2a9jta.1p3.ln@beastie.ix.netcom.com> <3DFD38A7.6080204@acm.org> <3DFE1FFB.E1BB660E@t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1040149337 05 14518 1Si1E2ibSFAFIh 021217 18:22:17 X-Complaints-To: abuse@t-online.com X-Sender: 320001779794-0001@t-dialin.net X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de Xref: archiver1.google.com comp.lang.ada:31972 Date: 2002-12-17T19:20:43+01:00 List-Id: "James S. Rogers" schrieb: > > "Alfred Hilscher" wrote in message > news:3DFE1FFB.E1BB660E@t-online.de... > > > > > > Jeffrey Carter schrieb: > > > 'Size returns a universal integer, which is also the type of any integer > > > literal or named number. > > > > So why is the computation not done with function "/" (a,b : > > universal_integer) return BYTE ? Why is it done with function "/" (a,b : > > BYTE) return BYTE ? > > This is because the only "/" function defined for the Byte type is > function "/"(left, right : Byte) return Byte; So could it be a way if I define a function "/" (a, b : Integer) return BYTE within my code? Or wouldn`t it be used? > Jim Rogers