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=-2.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7009ff26a584c028 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news2.google.com!proxad.net!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Duncan Sands Newsgroups: comp.lang.ada Subject: Re: Dimensions and fixed point types Date: Fri, 11 Jun 2004 09:16:26 +0200 Organization: Cuivre, Argent, Or Message-ID: References: <40c6bf5c_1@baen1673807.greenlnk.net> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1086938192 2115 212.85.156.195 (11 Jun 2004 07:16:32 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 11 Jun 2004 07:16:32 +0000 (UTC) Cc: "Robert I. Eachus" To: comp.lang.ada@ada-france.org Return-Path: User-Agent: KMail/1.6.2 In-Reply-To: Content-Disposition: inline X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:1383 Date: 2004-06-11T09:16:26+02:00 Hi Robert, > So to go back to Duncan's original complaint add: > > function "*"(Left: Price; Right: Volume) return Value; > > This will hide ALL the predefined operations that Duncan wants to get > rid of, and any new ones that involve Price, Volume, or Value, so the line: > > P := V * Val; -- The compiler will complain that no visible "*" matches. while it would indeed solve my problem, it also makes the rules for fixed point types even more exotic than they are right now, which is a bad thing in my opinion. All the best, Duncan.