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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f82a3047082dd83e,start X-Google-Attributes: gid103376,public From: Larry Coon Subject: Newbie Q: Zero fill in Put Date: 1997/09/01 Message-ID: <340B809C.24AE@home.com>#1/1 X-Deja-AN: 269465827 Organization: @Home Network Reply-To: lmcoon@home.com Newsgroups: comp.lang.ada Date: 1997-09-01T00:00:00+00:00 List-Id: I looked through the docs I have & the FAQ on Ada Home, but I didn't see an answer to what I hope is a simple question. How does one zero-fill for integers in a Put call? eg: declare x: integer := 2; package int_io is new integer_io(integer); use int_io; begin Put(x); end; How do I make it output with leading zeros, eg: 02, 002, 00000002, etc? The width parameter seems to only fill with spaces. Larry Coon larry@fs2.assist.uci.edu and lmcoom@home.com