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,a96b706fab1e8c2c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-01 15:35:49 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!204.94.211.44!enews.sgi.com!telocity-west!TELOCITY!newsrump.sjc.telocity.net!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada References: <9e2x6.568987$JT5.15730002@news20.bellglobal.com><9a2dnu$sff$1@nh.pace.co.uk><3AC5C72F.8108A613@earthlink.net><2GLx6.16115$aP5.1507862@newsread2.prod.itd.earthlink.net> Subject: Re: Binary value MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: X-Trace: MjIgTm9BdXRoVXNDcgZURWpPQ29UWS1SRUFERXRTIDIxNi4yMhEuNDcuEjkgIFN1biwgMDEgQXBy!IDIwFjEgMTU6MzQ6NRAgUGJU X-Abuse-Info: Please forward ALL headers when reporting abuse. X-Complaints-To: abuse@telocity.net NNTP-Posting-Date: Sun, 01 Apr 2001 15:34:56 PDT Date: Sun, 1 Apr 2001 17:35:34 -0500 Xref: supernews.google.com comp.lang.ada:6323 Date: 2001-04-01T17:35:34-05:00 List-Id: Don't you mean T'Value ("2#" & The_Input_String & "#") instead of T'Image ? . "Robert A Duff" wrote in message news:wccr8zc2s5v.fsf@world.std.com... > "Phaedrus" writes: > > > I've often thought that the "default base" in text_io should allow you to set > > the default INPUT base, too, so that users of it could just specify that they > > wanted the user to be able to plug in a number in a certain base without > > using the base and pound signs. Unfortunately, it doesn't work that way. > > You can read the thing as a string, and then say something like > T'Image("2#" & The_Input_String & "#"). > > - Bob