From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: parameter modes
Date: 25 Dec 2002 18:09:40 -0600
Date: 2002-12-25T18:09:40-06:00 [thread overview]
Message-ID: <0UZ4PCaz1aV9@eisner.encompasserve.org> (raw)
In-Reply-To: wHrO9.459852$P31.154990@rwcrnsc53
In article <wHrO9.459852$P31.154990@rwcrnsc53>, Stapler <spam.magnet@yahoo.com> writes:
>
> Do you know if it's possible within the Ada language to define an optional
> compiler instruction or pragma that says something like this ...
>
> if memory_region < X_number_of_bytes then
>
> Pass_by_copy(memory_region, Destination);
>
> else
>
> Pass_by_access_type(memory_region);
>
> end if;
You should count on your compiler to do something like that in places
where it is legal and appropriate. If your compiler does not, perhaps
a compiler you buy in the future will do so. Trying to work around
the decisions a compiler makes can be painful for you in the future.
next prev parent reply other threads:[~2002-12-26 0:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-25 19:18 parameter modes Jan
2002-12-25 20:32 ` Jeffrey Creem
2002-12-26 0:03 ` Stapler
2002-12-26 0:09 ` Larry Kilgallen [this message]
[not found] ` <d0adua.hs3.ln@beastie.ix.netcom.com>
2002-12-26 15:10 ` Jan
-- strict thread matches above, loose matches on Subject: below --
1988-11-15 13:05 Parameter modes Dale Gaumer
1988-11-18 14:06 ` Robert Firth
1988-11-21 23:46 ` Michael Murphy
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox