Article View: net.lang.ada
Article #986Re: The equals function.
From: Jan Kok
Date: Tue, 30 Sep 1986 14:22
Date: Tue, 30 Sep 1986 14:22
32 lines
2029 bytes
2029 bytes
CORRECTION
I must apologize about my previous posting, the subject of the existence
of the operator STANDARD."=" has been too difficult for me. I maintain
that it is interesting, at least I learned something.
I wrote:
In article <310@zuring.mcvax.UUCP> jankok@zuring.UUCP (Jan Kok) :
>
>I checked with a validated compiler (wellll, expired now), and it
>recognizes STANDARD."=".
But my test was too simple. I checked whether it recognized STANDARD."="
for operands of a predefined type like FLOAT. It does.
But my compiler does not accept STANDARD."=" for operands of a
user-defined type like 'access INTEGER'.
With help of a colleague, I may offer a better explanation: for a new
type, the prefix in the expanded name should be that of the module
(package, etc.) containing the type declaration. So, there is no
disagreement among validated compilers about this issue, as far as
tests have been made now by net-readers.
The person with the original problem is not helped by this. The prefix
can be used if the new definition and the "=" used in the call are
(possibly implicitly) declared in different modules.
--
Mail: Jan Kok, CWI (afd. NW), Postbus 4079, NL-1009 AB Amsterdam, Nederland
UUCP: {seismo, decvax, philabs, okstate, garfield}!mcvax!zuring!jankok
---------------------------------------------------------------
One of the Warner Bros to Albert Einstein:
I have a theory about relatives myself : Don't hire them!
Technical Details
Message-ID:
<311@zuring.mcvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!jankokReferences:
<8609252153.AA03089@ucbvax.Berkeley.EDU> <310@zuring.mcvax.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!jankok From: jankok@mcvax.uucp (Jan Kok) Newsgroups: net.lang.ada Subject: Re: The equals function. Message-ID: <311@zuring.mcvax.UUCP> Date: Tue, 30-Sep-86 10:22:10 EDT Article-I.D.: zuring.311 Posted: Tue Sep 30 10:22:10 1986 Date-Received: Thu, 2-Oct-86 21:04:00 EDT References: <8609252153.AA03089@ucbvax.Berkeley.EDU> <310@zuring.mcvax.UUCP> Reply-To: jankok@zuring.uucp (Jan Kok) Organization: CWI, Amsterdam Lines: 31 Apparently-To: rnews@mcvax