Re: [BLACKBOX] OUT parameters

From: [at]} <Chris>
Date: Mon, 22 Oct 2012 22:03:24 +1030

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

> -----Original Message-----
> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
> Robert (SELEX GALILEO, UK)
> Sent: Monday, 22 October 2012 9:54 PM
> To: BLACKBOX{([at]})nowhere.xy
> Subject: [BLACKBOX] OUT parameters
>
> Just out of idle curiosity, does anyone know when OUT variables are, in
> fact, initialised to the values in the outer context?
> In this case the variable was initialised, so no malfunction in the
> procedure was visible.
>

>From 'What's New in Component Pascal':

"OUT parameters are considered undefined upon procedure entry (except for
pointers and procedure variables, which are set to NIL upon procedure
entry)"

Regards,
Chris

Chris Burrows
CFB Software
http://www.cfbsoftware.com


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-858703732_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGZiaWRpcyBcZGVmZjB7XGZvbnR0YmwN
CntcZjBcZnN3aXNzIEFyaWFsO30NCntcZjFcZm1vZGVybiBDb3VyaWVyIE5ldzt9DQp7XGYyXGZu
aWxcZmNoYXJzZXQyIFN5bWJvbDt9DQp7XGYzXGZtb2Rlcm5cZmNoYXJzZXQwIENvdXJpZXIgTmV3
O319DQp7XGNvbG9ydGJsXHJlZDBcZ3JlZW4wXGJsdWUwO1xyZWQwXGdyZWVuMFxibHVlMjU1O30N
Clx1YzFccGFyZFxwbGFpblxkZWZ0YWIzNjAgXGYwXGZzMjAgPiAtLS0tLU9yaWdpbmFsIE1lc3Nh
Z2UtLS0tLVxwYXINCj4gRnJvbTogQmxhY2tCb3ggW21haWx0bzpCTEFDS0JPWEBMSVNUUy5PQkVS
T04uQ0hdIE9uIEJlaGFsZiBPZiBDYW1wYmVsbCxccGFyDQo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IHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBC
TEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXH19AC1vcg==
----boundary-LibPST-iamunique-858703732_-_---
Received on Mon Oct 22 2012 - 13:33:24 UTC

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