Re: LIMITED RECORDS

From: [at]} <Gérard>
Date: Tue, 11 Nov 2003 20:33:40 +0100

----boundary-LibPST-iamunique-1628132449_-_-
Content-type: text/plain

>The code below compiles fine.
>
>TYPE
> Obj = POINTER TO RECORD j, k : INTEGER END;
>
>
>PROCEDURE Copy (a, b : Obj);
> BEGIN
> a^ := b
> END Copy;
>
>
>However if Obj is made a POINTER to a
>LIMITED RECORD it does not.
>
>Is there a simple explanation?

Hello Robert,

You're right, and I can see no explanation, since the copy is made in the
defining module. Compiler bug?

Cheers.
Gérard

--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy

Current posting policy:

a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.

b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.



----boundary-LibPST-iamunique-1628132449_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCA+VGhlIGNvZGUgYmVsb3cgY29t
cGlsZXMgZmluZS5ccG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