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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e51581f95441cb4,start X-Google-Attributes: gid103376,public From: Kees de Lezenne Coulande Subject: Re: Discriminant as default initial value Date: 1997/04/02 Message-ID: <199704020043_MC2-13A2-3DDB@compuserve.com>#1/1 X-Deja-AN: 230077315 Sender: Ada programming language Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU Newsgroups: comp.lang.ada Date: 1997-04-02T00:00:00+00:00 List-Id: I wrote: <> and Robert Dewar replied: >No, it works fine in the windows version too. This was a very vague >report, >I paid little attention to it. If people think they have found a problem >in GNAT, it should be properly written up, formatted according to the >suggestions in gnatinfo.txt, and sent to report@gnat.com. I know by now how you feel about these things. It is just that this one intrigued me, because I had not encountered the use of a record discriminant as the default value for a component before. I spent a couple of minutes trying it out, found that it seemed to work, and decided that I could just as well post the reply. At the end of last year I acquired a copy of Norman Cohen's magnum opus, and I am slowly working through it by of a couple of pages a day. By coincidence, just after posting the message, my daily dose brought me to pages 381/382 where the allowable uses of discriminants are described. So, although the original poster may not be any the wiser, I have certainly learned something. And besides, it was the Easter weekend. Kees de Lezenne Coulander --------------------------------------------------------------------- C.M. de Lezenne Coulander Amsterdam-Zuidoost The Netherlands E-mail: lezenne@compuserve.com Aircraft Development and Systems Engineering B.V. Schiphol-Rijk, The Netherlands =====================================================================