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,22b2c05a8088bbb2 X-Google-Attributes: gid103376,public X-Google-Thread: 101deb,495b037244521cf3 X-Google-Attributes: gid101deb,public From: VArase@varase.it.luc.edu (Verne Arase) Subject: Re: Leading zeros with Int_IO.Put()? Or another package? Date: 1996/11/27 Message-ID: #1/1 X-Deja-AN: 201166290 references: <327FB8A3.745B@itg-sepg.logicon.com> <55ubsh$lh0$1@goanna.cs.rmit.edu.au> <56bi13$3pa$1@goanna.cs.rmit.edu.au> <328A0DDD.94B@lmtas.lmco.com> <56rgou$r4k$1@goanna.cs.rmit.edu.au> <3295F2A9.1EF0@lmtas.lmco.com> organization: LUMC newsgroups: comp.lang.ada,comp.lang.pl1 Date: 1996-11-27T00:00:00+00:00 List-Id: In article <3295F2A9.1EF0@lmtas.lmco.com>, Ken Garlington wrote: > use Ada.Text_IO.Editing; > ... > package Edited_IO is new Decimal_Output (type); > ... > Edited_IO.Put (n, To_Picture ("-99999999")); > >Interesting. They look reasonably similar to me. If anything, >the Ada version makes it clear from the text that this >I/O is using the Picture feature of the language. However, >if you believe "P" is more readable in this regard, I >suppose we'll have to agree to disagree... Well, we are talking about a langugage primative rather than a subroutine library. Or are you saying that PayRoll is also built into the language (and implemented in a single statement)? --- The above are my own opinions, and not those of my employer.