From: ametayer98@hotmail.com (annabelle)
Subject: Re: beginner ada generic fonction
Date: 24 Mar 2002 09:31:43 -0800
Date: 2002-03-24T17:31:43+00:00 [thread overview]
Message-ID: <8235efb6.0203240931.182d6f19@posting.google.com> (raw)
In-Reply-To: s3cn8.110458$q2.11149@sccrnsc01
Thank you for your efforts ! Your explanation was helpful...
The thing is, I was given the following spec and I cant change it.
I've GOT to use it as it is.
I can make the "LaCle" function to work but now I have trouble with
the "<" function...
I would love to have an example of how I call this "<" in my ADB file
and how do I define this function in my ADA project...
I know I am a pain in the neck !!! I have great difficulty with the
concept but I know I CAN understand eventually !!!
GENERIC
TYPE Type_Element IS Private; -- Type
de l'enregistrement a gerer
TYPE Type_Cle IS Private; -- Type
de la cle de l'enregistrement
WITH Function LaCle (mon_item : Type_Element) Return Type_Cle; --
Fonction qui retourne la valeur de la cle
WITH Function "<" (Gauche,Droite : Type_Cle) Return Boolean; --
Importation de l'operateur < pour comparer des cles
I AM SO MISERABLE !!!
Annabelle M�tayer
next prev parent reply other threads:[~2002-03-24 17:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-23 1:37 beginner ada generic fonction annabelle
2002-03-23 3:29 ` Steve Doiel
2002-03-24 2:55 ` annabelle
2002-03-24 3:10 ` annabelle
2002-03-24 3:51 ` Steve Doiel
2002-03-24 17:31 ` annabelle [this message]
2002-03-25 6:05 ` Simon Wright
2002-03-24 20:37 ` annabelle
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox