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=0.6 required=5.0 tests=BAYES_00,FROM_WORDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7d2851c9924bb432 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-10-28 18:22:11 PST Path: supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!xfer10.netnews.com!netnews.com!howland.erols.net!nntp.flash.net!news.flash.net!not-for-mail From: "Ken Garlington" Newsgroups: comp.lang.ada References: <39FB723B.25D05446@erols.com> Subject: Re: User defined boolean X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <2ZKK5.12904$NP.941572@news.flash.net> Date: Sun, 29 Oct 2000 01:22:06 GMT NNTP-Posting-Host: 216.215.75.153 X-Complaints-To: abuse@flash.net X-Trace: news.flash.net 972782526 216.215.75.153 (Sat, 28 Oct 2000 20:22:06 CDT) NNTP-Posting-Date: Sat, 28 Oct 2000 20:22:06 CDT Organization: FlashNet Communications, http://www.flash.net Xref: supernews.google.com comp.lang.ada:1614 Date: 2000-10-29T01:22:06+00:00 List-Id: "Daniel Allex" wrote in message news:39FB723B.25D05446@erols.com... : I created a type PASS_FLAG that is an enumeration type of FAIL and : PASS. I have seven funtions that each return PASS_FLAG, and I wanted to : AND them together an print out the result. My flag wont work with : either AND or "+". Can this be done or should I just use the predefined : boolean. I had reasons for defining my own enumeration type. : When you say "my flag won't work with AND," I assume you mean that it won't work with the "and" function defined for Boolean. Since Pass_Flag is of a different type than Boolean, then you probably shouldn't expect it to work when called with values of type Pass_Flag. Have you tried declaring an "and" function for Pass_Flag? (P.S. It may help if you post a sample package describing what you are trying to do...)