Re: Welcome

From: [at]} <HvL>
Date: Fri, 26 Oct 2007 15:49:23 +0200

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

LIMITED RECORD variables (either static or dynamic) are not assignment
compatible (see language report) as they may refer to memory allocations
of different size and structure.

Cheers

H. v. Lavergne


On Fri, 26 Oct 2007 10:43:44 +0200, Campbell, Robert D (SELEX) (UK
Edinburgh) <robert.d.campbell{([at]})nowhere.xy

> Hi
>
> Am I missing something, or is this an error?
>
> The code below does not compile, but if I remove
> the word 'LIMITED' it does. I thought that LIMITED records were not
> limited in their defining module.
>
>
> Cheers
>
> Robert
>
>
>
> MODULE DemoTest;
>
> TYPE
> Ball* = POINTER TO LIMITED RECORD
> radius : REAL
> END;
>
> PROCEDURE Copy* (a : Ball) : Ball;
> VAR
> b : Ball;
> BEGIN
> NEW (b); b^ := a^; RETURN b
> END Copy;
>
> END DemoTest.
>
> SELEX Sensors and Airborne Systems Limited
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex
> SS14 3EL
> A company registered in England & Wales. Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
> LISTSERV{([at]})nowhere.xy


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1804513836_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9k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dCB0aGUgaW50ZW5kZWRccGFyDQo+IHJlY2lwaWVudCBwbGVh
c2UgZGVsZXRlIGl0IGZyb20geW91ciBzeXN0ZW0gYW5kIG5vdGlmeSB0aGUgc2VuZGVyLlxwYXIN
Cj4gWW91IHNob3VsZCBub3QgY29weSBpdCBvciB1c2UgaXQgZm9yIGFueSBwdXJwb3NlIG5vciBk
aXNjbG9zZSBvclxwYXINCj4gZGlzdHJpYnV0ZSBpdHMgY29udGVudHMgdG8gYW55IG90aGVyIHBl
cnNvbi5ccGFyDQo+ICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqXHBhcg0KPlxwYXINCj5ccGFyDQo+IC0tLS1ccGFyDQo+
IFRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tC
T1giIHRvICBccGFyDQo+IExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSFxwYXINClxwYXINClxwYXIN
Ci0tLS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdO
T0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQn19AApEYXRlOiAgICAg
----boundary-LibPST-iamunique-1804513836_-_---
Received on Fri Oct 26 2007 - 15:49:23 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:13 UTC