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,8d5151b6052512f7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-08 07:20:04 PST From: "Luke Guest" Newsgroups: comp.lang.ada References: <404c7dbf.0@entanet> Subject: Re: Overloading procedures with Float and Long_Float types Date: Mon, 8 Mar 2004 15:19:59 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 195.74.122.227 Message-ID: <404c8fca.0@entanet> X-Trace: 8 Mar 2004 15:22:50 GMT, 195.74.122.227 Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!news.infoave.net!lackawana.kippona.com!stargate.gts.cz!news.freedom2surf.net!entanet!195.74.122.227 Xref: archiver1.google.com comp.lang.ada:6146 Date: 2004-03-08T15:19:59+00:00 List-Id: "Georg Bauhaus" wrote in message news:c2i1f2$9d1$1@a1-hrz.uni-duisburg.de... > Luke Guest wrote: > : > : Would this allow the compiler to determine whichprocedure to call based > : purely on numbers? > : > : Translate(1.0, 0.0, 0.0); -- Is this Short_Float or Long_Float? > > Do the numeric literals have a meaning that can be said in a word? > In this case you could declare typed constants, instead of placing > literals somewhere in a program? Yup, good point. Some of these things will be automated, i.e. on a keypress. Luke.