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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cc4f25d878383cc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-09 15:09:52 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!ppp-2-126.cvx5.telinco.NET!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Another Idea for Ada 20XX Date: Sun, 9 Dec 2001 23:02:54 -0000 Message-ID: <9v0qvv$c44n1$1@ID-25716.news.dfncis.de> References: <3C0AACCE.329CFB60@worldnet.att.net> <45601fc.0112031740.3e217c8a@posting.google.com> <3C0CF4E3.A53D20A7@sparc01.ftw.rsc.raytheon.com> NNTP-Posting-Host: ppp-2-126.cvx5.telinco.net (212.1.153.126) X-Trace: fu-berlin.de 1007939391 12718817 212.1.153.126 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.lang.ada:17659 Date: 2001-12-09T23:02:54+00:00 List-Id: "Larry Kilgallen" wrote in message news:C1UHcLPG$dZX@eisner.encompasserve.org... > > nor to allow 10 minutes * 5 KPH = 833 Meters > > Are you saying that multiplying two different types (not subtypes > of the same type) works in Ada95 ? My experience is mostly Ada83. If they are both fixed point types, I think the answer is 'yes', provided it's in the context of a specific fixed point type (not universal fixed). E.g.: D: Distance := Duration(10*60.0) * KPH(5.0); -- Nick Roberts