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=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4b862d91ff93feff X-Google-Attributes: gid103376,public From: "Nick Roberts" Subject: Re: Text_IO for other standard types Date: 1998/01/15 Message-ID: <01bd2209$c902dce0$95fc82c1@xhv46.dial.pipex.com>#1/1 X-Deja-AN: 316351760 Content-Transfer-Encoding: 7bit References: <98011512220569@psavax.pwfl.com> Content-Type: text/plain; charset=ISO-8859-1 Organization: UUNet UK server (post doesn't reflect views of UUNet UK) Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-01-15T00:00:00+00:00 List-Id: You may well have already thought of or used this, but might I suggest that you cobble together your own little package Handy (suggestion below), and then your recalcitrant engineers need only 'with Handy' to get the stuff they need. with Ada.Text_IO package Handy is type Handy_Modular is mod 2**32; package Handy_Modular_IO is new Ada.Text_IO(Handy_Modular); use Handy_Modular_IO; -- and so on ... end Handy; I would add, however, that this ploy in no way detracts from your argument, which I think has some merit. What argument can there be for not providing a predefined modular type, partner to the predefined integer type Integer? I think it has to be conceded that a predefined fixed-point type would not be sensible. One of the annexes does actually specify a predefined decimal type, doesn't it? -- Nick Roberts Croydon, UK Proprietor, ThoughtWing Software; Independent Software Development Consultant * Nick.Roberts@dial.pipex.com * Voicemail & Fax +44 181-405 1124 * *** Eats three shredded spams every morning for breakfast *** Marin David Condic wrote at length about the difficulty of convincing programmers used to more pragmatic languages to adopt Ada.