comp.lang.ada
 help / color / mirror / Atom feed
From: "Pascal LEJEUNE" <pascal.lejeune@matra-transport.fr>
Subject: question about functions
Date: 2000/01/20
Date: 2000-01-20T16:45:45+00:00	[thread overview]
Message-ID: <867e3p$8ph$1@news.mgn.net> (raw)

Hello,

I would like to know if there is a "clean" (i.e. not compiler dependant)
solution to this problem :


- i have a function, for example : f(A, B : in T) return T
- how can i find the return address in f ?


I explain :
if C := f(A, B);

how can i know, in f, C's addres ?
function f(A, B : in T) return T is
   ...
begin
   ...
   address of the result of f ?
   ...
end f;


Thank you for your help



        Pascal LEJEUNE






             reply	other threads:[~2000-01-20  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-20  0:00 Pascal LEJEUNE [this message]
2000-01-20  0:00 ` question about functions Stephen Leake
2000-01-22  0:00   ` Matthew Heaney
2000-01-24  0:00     ` Mats Weber
2000-01-24  0:00     ` Stephen Leake
2000-01-25  0:00       ` Matthew Heaney
2000-01-27  0:00         ` Stephen Leake
2000-01-22  0:00   ` Andy
2000-01-22  0:00     ` Matthew Heaney
2000-01-24  0:00     ` Stephen Leake
2000-01-20  0:00 ` Tucker Taft
2000-01-20  0:00 ` Hyman Rosen
2000-01-20  0:00 ` David Starner
  -- strict thread matches above, loose matches on Subject: below --
2000-01-21  0:00 Pascal LEJEUNE
2000-01-21  0:00 ` tmoran
2000-01-21  0:00   ` Samuel T. Harris
2000-01-21  0:00     ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox