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,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9559956f3f3ac452,start X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: reset boolean. Date: 1996/08/18 Message-ID: #1/1 X-Deja-AN: 175012004 references: <4v8jks$gjs@goanna.cs.rmit.edu.au> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-08-18T00:00:00+00:00 List-Id: Lyndon (Charlie-Brown) asks " I have a question regarding a boolean statement. What I want to do is reset the statement to neither false nor true. Is it possible? If anyone has an idea please help me out. Thanks in advance." That certainly is confused. What is a boolean statement? How can you possibly reset a statement to anything? Well guessing game time, it soulds like you are asking if it is possible to set a Boolean *variable* to a value other than True or False. The answer is of course not. However, you might want to define your own type type Extended_Boolean is (False, True, Neither); of course if you have a value of this type you need to check explicitly for it being equal to False or True, you can't just use the value directly in a Boolean context (like an if condition).