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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,8d5151b6052512f7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-08 10:01:14 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!chcgil2-snh1.gtei.net!news.bbnplanet.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newsfeed.icl.net!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Overloading procedures with Float and Long_Float types Date: Mon, 8 Mar 2004 18:58:11 +0100 Organization: PVV Sender: Preben Randhol Message-ID: References: <404c9f47.0@entanet> Reply-To: gtkada@lists.act-europe.fr NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: melchior.cuivre.fr.eu.org 1078768707 28465 212.85.156.195 (8 Mar 2004 17:58:27 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Mon, 8 Mar 2004 17:58:27 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: Content-Disposition: inline In-Reply-To: <404c9f47.0@entanet> User-Agent: Mutt/1.5.5.1+cvs20040105i 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: archiver1.google.com comp.lang.ada:6159 Date: 2004-03-08T18:58:11+01:00 Luke Guest wrote on 08/03/2004 (18:21) : > > It works, (again) by using distinct names. So in C it is called Double_Translate or something similar? > So, you would have GL.Double.Translate()? Yes. So if I use Double for a scientific application I with GL.Double; (and possibly use GL.Double) while in a game I would do: with GL.Float; -- Preben Randhol -------------- http://www.pvv.org/~randhol/Ada95 -- �For me, Ada95 puts back the joy in programming.�