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:06:03 PST Newsgroups: comp.lang.ada Path: supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!chcgil2-snf1.gtei.net!news.gtei.net!newspump.sol.net!nntp.msen.com!uunet!ash.uu.net!world!bobduff From: Robert A Duff Subject: Re: Binary value Sender: bobduff@world.std.com (Robert A Duff) Message-ID: Date: Sun, 1 Apr 2001 22:04:28 GMT 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> Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.3/Emacs 19.34 Xref: supernews.google.com comp.lang.ada:6321 Date: 2001-04-01T22:04:28+00:00 List-Id: "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