comp.lang.ada
 help / color / mirror / Atom feed
From: Neil O'Brien <obrien@east.thomsoft.com>
Subject: RE: reset boolean.
Date: 1996/08/21
Date: 1996-08-21T00:00:00+00:00	[thread overview]
Message-ID: <01bb8f58.afd6bb00$fc899dc0@fielding.east.alsys.com> (raw)
In-Reply-To: 4v8jks$gjs@goanna.cs.rmit.edu.au



On Sunday, August 18, 1996, Charlie_Brown wrote...
> 	Hi to all,
> 		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.
> Lyndon. 
> 

It is a truth value, it can only have two possible settings true or false,
but you could declare your own enumeration type for example

my_bool is (true, false, neutral)

and use that instead - to be honest it seems a bit of a bizarre thing to
want to do, perhaps if you explained why you want it someone might be able
to suggest a better way.


--

=========================================================
Neil O'Brien			obrien@east.thomsoft.com
Customer Support		(617) 221 7320
Thomson Software Products


They're the wrong trousers Grommit, and they've gone wrong!







  parent reply	other threads:[~1996-08-21  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-19  0:00 reset boolean Charlie_Brown
1996-08-18  0:00 ` Robert Dewar
1996-08-19  0:00 ` Ken Price
1996-08-21  0:00 ` Neil O'Brien [this message]
1996-08-21  0:00   ` Ian Ward
1996-08-21  0:00   ` Adam Beneschan
1996-08-22  0:00     ` Larry Hazel
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox