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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f6b9e7a488a8fbdb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "mr1yh1" Newsgroups: comp.lang.ada Subject: Re: a beginner question Date: Thu, 21 Oct 2004 14:16:14 -0400 Organization: www.talkaboutprogramming.com Message-ID: X-Newsreader: www.talkaboutprogramming.com Content-Type: text/plain; References: <10b97a973c8cc17010b8a5e9d55be273@localhost.talkaboutprogramming.com> X-Complaints-To: abuse@supernews.com Xref: g2news1.google.com comp.lang.ada:5592 Date: 2004-10-21T14:16:14-04:00 List-Id: thank you for all comments i read more about discriminants and i realised they are different things that i used to use till now :)... i realise my mistake too , i made it possible to access a variable in two ways ( first discriminant give a value ,but its a record and its possible to change it, in normal ways ) and i see now the right way to use discriminants give a chance to do something which is not possible in another way ... i saw in the examples: -- they make possible to initialize the types of variables ( arrays,strings ...) -- and they make possible to use different spesifications in same record for different discriminant values regards