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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c75fd3043cfdcb58,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.88.5 with SMTP id bc5mr1843287pab.11.1344323696449; Tue, 07 Aug 2012 00:14:56 -0700 (PDT) Path: p10ni3060212pbh.1!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!ctu-peer!news.nctu.edu.tw!goblin1!goblin.stu.neva.ru!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!212.23.6.68.MISMATCH!zen.net.uk!hamilton.zen.co.uk!reader03.nrc01.news.zen.net.uk.POSTED!not-for-mail Date: Mon, 30 Jul 2012 09:50:33 +0100 From: Mark Murray User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Formatted IO - Fortran style or similar. Message-ID: <50164ad8$0$1156$5b6aafb4@news.zen.co.uk> Organization: Zen Internet NNTP-Posting-Host: 7e77f88e.news.zen.co.uk X-Trace: DXC=7PoY=RI1jF5XKni2f Hi Folks Is there anyting in the Ada Standard Library (or the language itself) that acts /in loco/ Fortran's formatted I/O or C's printf()/scanf()? I know these can be written as required, and I know that there are ways to call C's printf()/scanf() functions from Ada, but I'm interested to see if there is not already something "in the box". Yes, I'm aware of the formatting capabilities of put()/get(), but that's not quite what I'm wondering about. I could have sworn I saw a PL/1-style "picture" version of this, but I'm coming round to believing that this was "customer code", not standard library. M PS: Is it really the case that put(some_integer,16) will _always_ print the '16#9999#' format, and that there is on way _in_the_ _standard_library_ of *not* getting the '16#.....#' wrapper? Yes, I know there are ways you can get rid of it (eg with a slice), or by "rolling your own" - alternatives aren't my question here :-). M -- Mark "No Nickname" Murray Notable nebbish, extreme generalist.