From: Mario Amado Alves <maa@di.fct.unl.pt>
To: comp.lang.ada@ada.eu.org
Subject: Re: Pointer function parameter
Date: 2000/10/17
Date: 2000-10-17T12:13:09+00:00 [thread overview]
Message-ID: <Pine.LNX.4.10.10010171217210.17222-100000@lexis.di.fct.unl.pt> (raw)
In-Reply-To: iotnusc13ulppptc433i83o4n2ld672eof@4ax.com
> How can you handle address-of-operator (&) in Ada. (Mary)
I think you should write "address-of operator",
^
or simply "address operator".
Ada access types serve most pointer necessities. In this vein, the
Ada expression X'Access is the equivalent of the C expression &X (X being
an object).
> float calculation(float &num2, float num1)
I dont remember using & in function prototypes from my C days, but I may be
wrong (I do not have K&R at hand).
| |,| | | |RuaFranciscoTaborda24RcD 2815-249CharnecaCaparica 351+939354002
|M|A|R|I|O|
|A|M|A|D|O|DepartmentoDeInformaticaFCT/UNL 2825-114 Caparica 351+212958536
|A|L|V|E|S| fax 212948541
| | | | | | maa@di.fct.unl.pt FCT 212948300
next prev parent reply other threads:[~2000-10-17 0:00 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-16 0:00 Pointer function parameter Mary
2000-10-17 0:00 ` Gautier
2000-10-17 0:00 ` tmoran
2000-10-17 0:00 ` Mario Amado Alves [this message]
2000-10-18 0:00 ` Florian Weimer
2000-10-18 0:00 ` Robert Dewar
-- strict thread matches above, loose matches on Subject: below --
2000-10-19 0:00 Mario Amado Alves
2000-10-19 0:00 ` tmoran
2000-10-19 0:00 ` Ted Dennison
2000-10-21 0:00 ` Robert Dewar
2000-10-23 0:00 ` Alejandro Villanueva
2000-10-24 0:00 ` Robert A Duff
2000-10-24 0:00 ` Alejandro Villanueva
2000-10-24 0:00 ` Ted Dennison
2000-10-24 0:00 ` Lutz Donnerhacke
2000-10-24 22:32 ` Mats Weber
2000-10-30 15:24 ` Robert A Duff
2000-10-30 15:44 ` Ken Garlington
2000-10-30 18:53 ` Florian Weimer
2000-10-31 1:48 ` Robert Dewar
2000-10-31 12:40 ` Ken Garlington
2000-10-31 14:08 ` Larry Kilgallen
2000-11-01 17:59 ` Mats Weber
2000-11-03 0:00 ` Florian Weimer
2000-10-19 0:00 ` Marin David Condic
2000-10-21 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox