From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a369e9bb4bee1413 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Are unconstrained arrays passed by references? Date: 1999/08/10 Message-ID: <7oq77c$1et$1@nnrp1.deja.com>#1/1 X-Deja-AN: 511194213 References: <7oomct$t93$1@nnrp1.deja.com> <7opbch$bca$1@nnrp1.deja.com> <37B071C8.FF759493@averstar.com> X-Http-Proxy: 1.0 x22.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Tue Aug 10 21:57:05 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-08-10T00:00:00+00:00 List-Id: In article <37B071C8.FF759493@averstar.com>, Tucker Taft wrote: > If the subprogram has convention "C" then you can be sure that > arrays are passed by reference. I disagree, this is implementation advice only, not a requirement of the standard. For example, it would be perfectly valid to pass a 32 bit packed array as an int (it would not meet the implementation advice, but it would be valid). Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.