RE: LIMITED RECORDS

From: [at]} <support{>
Date: Wed, 12 Nov 2003 09:53:06 +0100

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

Robert, Gérard,

> 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?

Yes. Actually there is an explanation: In Component Pascal record
assignment for EXTENSIBLE, ABSTRACT, and LIMITED record types is
prohibited. You can see this in the on-line documentation under the
topic "Component Pascal: What's new?" or in appendix A of the language
report under the definition of the term "assignment compatible".

Cheers,
Marc
Oberon microsystems, Inc.


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

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-1814250347_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnM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uZCB0aGF0IG1vZGVyYXRpb24gd2lsbCBvZnRl
biBjYXVzZSBzb21lIGRlbGF5LCBpbiBwYXJ0aWN1bGFyIG92ZXIgd2Vla2VuZHMgb3IgaG9seWRh
eX19ADANCkNvbnRlbnQtVA=


----boundary-LibPST-iamunique-1814250347_-_---
Received on Wed Nov 12 2003 - 09:53:06 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:03 UTC