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=2.1 required=5.0 tests=BAYES_20,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,ccc963ff28188d78 X-Google-Attributes: gid103376,public From: Marin David Condic Subject: Re: Putting a 'Duration' on the screen ? Date: 1999/01/18 Message-ID: <36A3AF6C.B514220A@pwfl.com>#1/1 X-Deja-AN: 434165303 Content-Transfer-Encoding: 7bit Sender: condicma@bogon.pwfl.com References: <36A37529.69BFB3FF@cs.kuleuven.ac.be> <36A38F05.EA6F4DD1@pwfl.com> <7807a6$rk5@hobbes.crc.com> Content-Type: text/plain; charset=us-ascii Organization: Pratt & Whitney Mime-Version: 1.0 Reply-To: diespammer@pwfl.com Newsgroups: comp.lang.ada Date: 1999-01-18T00:00:00+00:00 List-Id: David C. Hoos, Sr. wrote: > > Marin David Condic wrote in message <36A38F05.EA6F4DD1@pwfl.com>... > > >where X above is declared to be of type Duration. The numeric types have > >the 'Image attribute which will return a string. See the ARM 3.5 (35) > >for a definition. > A slight correction -- all _scalar_ types have a 'image attribute. I stand corrected. Enumerations also include the 'Image attribute. Anyway, it's the easiest way of getting something out to the screen - especially when you're in a hurry and don't care too much about spacing. I'm sure this question must be in the FAQ by now. But I suppose it won't stop being asked since newbies are also frequently newbies to FAQs as well. Maybe if CS profs made a little more effort to cover this, the students wouldn't be so confused? MDC -- Marin David Condic Real Time & Embedded Systems, Propulsion Systems Analysis United Technologies, Pratt & Whitney, Large Military Engines M/S 731-95, P.O.B. 109600, West Palm Beach, FL, 33410-9600 Ph: 561.796.8997 Fx: 561.796.4669 ***To reply, remove "bogon" from the domain name.*** "Nobody shot me." -- Last words of Frank Gusenberg when asked by police who shot him fourteen times with a machine gun in the Saint Valentine's Day Massacre.