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-04 11:57:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!not-for-mail From: "Vincent Marciante" Newsgroups: comp.lang.ada References: <3C0AACCE.329CFB60@worldnet.att.net> <45601fc.0112031740.3e217c8a@posting.google.com> <3C0CF4E3.A53D20A7@sparc01.ftw.rsc.raytheon.com> Subject: Re: Another Idea for Ada 20XX X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: Date: Tue, 4 Dec 2001 14:59:50 -0500 NNTP-Posting-Host: 160.79.20.98 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 1007495820 160.79.20.98 (Tue, 04 Dec 2001 19:57:00 GMT) NNTP-Posting-Date: Tue, 04 Dec 2001 19:57:00 GMT Organization: Verio Xref: archiver1.google.com comp.lang.ada:17396 Date: 2001-12-04T14:59:50-05:00 List-Id: "Wes Groleau" wrote in message news:3C0CF4E3.A53D20A7@sparc01.ftw.rsc.raytheon.com... > > > But that's not enough to prevent 2 Meters * 2 Meters = 4 Meters You can _remove_ the meters*meters operation by declaring is as abstract, something like: function "*" (left,right: meters) return meters is abstract; then meters*meters won't compile. > nor to allow 10 minutes * 5 KPH = 833 Meters > > -- > Wes Groleau > http://freepages.rootsweb.com/~wgroleau