comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison<dennison@telepath.com>
Subject: Re: Relational Operators
Date: Fri, 26 Oct 2001 14:42:57 GMT
Date: 2001-10-26T14:42:57+00:00	[thread overview]
Message-ID: <RDeC7.1472$xS6.2050@www.newsranger.com> (raw)
In-Reply-To: slrn9tj29n.4ne.randhol+abuse@kiuk0156.chembio.ntnu.no

In article <slrn9tj29n.4ne.randhol+abuse@kiuk0156.chembio.ntnu.no>, Preben
Randhol says...
>
>On Fri, 26 Oct 2001 13:41:05 +0100, Gordon Cooke wrote:
>> Is this code legal?
>> 
>> procedure Test is
>>    B : Boolean;
>> begin
>>    B := True = True = True;
>> end Test;
>
>Consider:
>
>B := True = 5 = 5;

Perhaps. But in the first case all operands and all possible permutations of
results are the same type (boolean). 

---
T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html

No trees were killed in the sending of this message. 
However a large number of electrons were terribly inconvenienced.



  reply	other threads:[~2001-10-26 14:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-26 12:41 Relational Operators Gordon Cooke
2001-10-26 13:57 ` Preben Randhol
2001-10-26 14:42   ` Ted Dennison [this message]
2001-10-26 14:10 ` Ted Dennison
2001-10-29  8:44   ` tgingold
2001-10-29 10:47     ` Martin Dowie
2001-10-29 13:41       ` Pascal Obry
2001-10-29 19:31       ` David Starner
2001-10-30  9:02         ` Martin Dowie
replies disabled

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