From: Gordon Cooke <gordon_cooke@hotmail.com>
Subject: Relational Operators
Date: Fri, 26 Oct 2001 13:41:05 +0100
Date: 2001-10-26T12:41:06+00:00 [thread overview]
Message-ID: <3BD959E1.6C0AD647@hotmail.com> (raw)
Is this code legal?
procedure Test is
B : Boolean;
begin
B := True = True = True;
end Test;
I thought this would be parsed as:
procedure Test is
B : Boolean;
begin
B := (True = True) = True;
end Test;
but GNAT 3.13p states:
4. B := True = True = True;
|
>>> unexpected relational operator
5 lines: 1 error
Gordon
next reply other threads:[~2001-10-26 12:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-26 12:41 Gordon Cooke [this message]
2001-10-26 13:57 ` Relational Operators Preben Randhol
2001-10-26 14:42 ` Ted Dennison
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