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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9d66743a9fdd96bd X-Google-Attributes: gid103376,public From: "Matthew Heaney" Subject: Re: question about functions Date: 2000/01/25 Message-ID: #1/1 X-Deja-AN: 577429695 Content-transfer-encoding: 7bit References: <867e3p$8ph$1@news.mgn.net> Content-Type: text/plain; charset="US-ASCII" X-ELN-Date: Tue Jan 25 07:50:42 2000 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 948815442 38.26.192.45 (Tue, 25 Jan 2000 07:50:42 PST) Organization: EarthLink Network, Inc. Mime-version: 1.0 NNTP-Posting-Date: Tue, 25 Jan 2000 07:50:42 PST Newsgroups: comp.lang.ada Date: 2000-01-25T00:00:00+00:00 List-Id: In article , Stephen Leake wrote: > In any case, I have often successfully used 'Address on subprogram > parameters that are not of a by-reference type, with both ObjectAda > and GNAT, so at least some compilers go beyond the implementation advice. Of course it *may* work, but you are depending on an implementation specific feature, namely the parameter passing mechanism used for composite types. Even within one compiler, an array may be passed by value if it's "small" enough.