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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cd45439466e86f24,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: "Rick Santa-Cruz" Newsgroups: comp.lang.ada Subject: enumeration type Date: Mon, 27 Sep 2004 02:13:27 +0200 Organization: T-Online Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1096244025 00 11011 RWgjXJp66s4W-A8 040927 00:13:45 X-Complaints-To: usenet-abuse@t-online.de X-ID: TlAyroZfrey6FiwRrkscbw+2Tn+IiRfkhWcDY2ygAgszrKjZiREc8k X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Xref: g2news1.google.com comp.lang.ada:4234 Date: 2004-09-27T02:13:27+02:00 List-Id: Hi, I have defined a new type in my program: type Boolean is (True, Maybe, False); Now I wanna use the standard type, that means Standard.Boolean. How can I now access the True-element from the original Standard.Boolean type? For example if I want to write something like: X : Standard.Boolean; if X = Standard.Boolean.True then .... I know that such doesn't work in ada, but how can I access the elements of an enumeration directly with the full qualified name? Thanks in advance for your help, Rick