comp.lang.ada
 help / color / mirror / Atom feed
From: eric@burdvax.PRC.Unisys.COM (Eric Marshall)
Subject: Re: Constrained Boolean
Date: Sat, 18-Apr-87 07:38:34 EST	[thread overview]
Date: Sat Apr 18 07:38:34 1987
Message-ID: <3283@burdvax.PRC.Unisys.COM> (raw)
In-Reply-To: 3280@burdvax.PRC.Unisys.COM

last night I wrote:
> 
>   The elaboration of 'a' below will not raise CONSTRAINT_ERROR.
> 
>   subtype bool is boolean range true..true;
>   a : bool := true xor false;

	This is a poor example, although my point is correct, XOR
will not always raise CONSTRAINT_ERROR. Below is a more appropriate
example:

		subtype bool is boolean range false..false;
		a, b : bool := false;
		c : bool := a xor b;

  reply	other threads:[~1987-04-18 12:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1987-04-07 14:14 Constrained Boolean firth
1987-04-18  1:46 ` eric
1987-04-18 12:38   ` Eric Marshall [this message]
1987-04-20 14:01     ` Robert Firth
replies disabled

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