Re: Welcome

From: [at]} <info{>
Date: Fri, 26 Oct 2007 22:22:15 +0930

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

> -----Original Message-----
> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
> Campbell, Robert D (SELEX) (UK Edinburgh)
> Sent: Friday, 26 October 2007 6:14 PM
> To: BLACKBOX{([at]})nowhere.xy
> Subject: Re: Welcome
>
> 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.
>

Looks like an error to me.

  b.radius := a.radius

which does compile, has the same end result in this example.

Regards,
Chris Burrows

CFB Software
http://www.cfbsoftware.com/gpcp


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-2107922526_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwID4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0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iAgOiAgQmFs
bDtccGFyDQo+ICAgQkVHSU5ccGFyDQo+ICAgICBORVcgKGIpOyBiXiAgOj0gIGFeOyBSRVRVUk4g
IGJccGFyDQo+ICAgRU5EICBDb3B5O1xwYXINCj4gXHBhcg0KPiBFTkQgIERlbW9UZXN0LlxwYXIN
Cj4gXHBhcg0KXHBhcg0KTG9va3MgbGlrZSBhbiBlcnJvciB0byBtZS4gXHBhcg0KXHBhcg0KICBi
LnJhZGl1cyAgOj0gIGEucmFkaXVzXHBhcg0KXHBhcg0Kd2hpY2ggZG9lcyBjb21waWxlLCBoYXMg
dGhlIHNhbWUgZW5kIHJlc3VsdCBpbiB0aGlzIGV4YW1wbGUuXHBhcg0KXHBhcg0KUmVnYXJkcyxc
cGFyDQpDaHJpcyBCdXJyb3dzXHBhcg0KXHBhcg0KQ0ZCIFNvZnR3YXJlXHBhcg0KaHR0cDovL3d3
dy5jZmJzb2Z0d2FyZS5jb20vZ3BjcFxwYXINClxwYXINClxwYXINCi0tLS1ccGFyDQpUbyB1bnN1
YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBM
SVNUU0VSVkBMSVNUUy5PQkVST04uQ0hcfX0AAAAA
----boundary-LibPST-iamunique-2107922526_-_---
Received on Fri Oct 26 2007 - 14:52:15 UTC

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