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,f82a3047082dd83e X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Newbie Q: Zero fill in Put Date: 1997/09/05 Message-ID: #1/1 X-Deja-AN: 269998368 References: <340B809C.24AE@home.com> <1997Sep2.142611.4003@news.nbi.dk> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-09-05T00:00:00+00:00 List-Id: Jacob says (of outputting numbers with leading zeroes) <> No, that's wrong, there are extensive formatting capabilities defined in Ada 95 that share the concept of COBOL picture strings. This is a particularly trivial case (you just use a picture of all 9's). Have a look at the package Ada.Text_IO.Editing in annex G. This capability is fully implemented in all current versions of GNAT.