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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6de5be91df1d0de2 X-Google-Attributes: gid103376,public From: Matthew Heaney Subject: Re: i need help w/problem Date: 1999/02/22 Message-ID: #1/1 X-Deja-AN: 447167003 Sender: matt@mheaney.ni.net References: <7aqjie$npj@netaxs.com> <36D0FD58.6474E351@rocketmail.com> NNTP-Posting-Date: Mon, 22 Feb 1999 10:38:57 PDT Newsgroups: comp.lang.ada Date: 1999-02-22T00:00:00+00:00 List-Id: "David C. Hoos, Sr." writes: > It's probably better to use an instantiation of Text_IO.Float_IO.Put... Since subtype Float was being used, a better choice may be the predefined package Ada.Float_Text_IO, which was specifically intended to remove the entry barrier for neophyte Ada programmers. A very subtle point: Float_Text_IO is _not_ an instantiation of Text_IO.Float_IO. It takes Float parameters, and looks just like an instantiation of Float_IO, but it is not actually an instantiation of Float_IO. Which mostly means if you have this: generic type Float_Type is digits <>; with package P is new Ada.Text_IO.Float_IO (Float_Type); package GQ is ... then the following instantiation package Q is new GQ (Float, Float_Text_IO); is illegal.