From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 13 Nov 91 16:12:07 GMT From: ae@sei.cmu.edu (Arthur Evans) Subject: Re: Implementation Problems w/ the Package Calendar Message-ID: <34957@as0c.sei.cmu.edu> List-Id: hart@zeus.franklin.edu (Drew Hart) asks how to output a value of type Duration. Duration is a fixed point type declared in package Standard (LRM C(19)). If you look up Duration in the LRM's index, you will find references to section 9.6 (in which package Calendar is introduced) and to Appendix C; the latter contains its declaration. To output values of this type, you must instantiate Text_IO.Fixed_IO. That package's spec is in 14.3.10 and it is explained in 14.3.8. Write package Duration_IO is new Text_IO.Fixed_IO(Num => Duration); and you then have access to the subprograms described in 14.3.8 Good luck! Art Evans ---------------------------------------- Arthur Evans, Jr, PhD Ada Consultant 461 Fairview Road Pittsburgh PA 15238-1933 412-963-0839 ae@sei.cmu.edu