comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: passing pointer of different type to one procedure
Date: 1997/04/17
Date: 1997-04-17T00:00:00+00:00	[thread overview]
Message-ID: <dewar.861311050@merv> (raw)
In-Reply-To: 33555ECA.44A8@bix.com


you could pass the compare procedure, rather than the various,
differently laid out, records.>>

Or you could use pointers to procedures -- see files

g-hesora.ads/adb
g-hesorg.ads/adb

in the GNAT distribution for a general purpose sort program using 
generics (hesorg) or access types (hesora).





  parent reply	other threads:[~1997-04-17  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-16  0:00 passing pointer of different type to one procedure Boaz
1997-04-17  0:00 ` John Harbaugh
1997-04-19  0:00   ` Robert Dewar
     [not found] ` <33555ECA.44A8@bix.com>
     [not found]   ` <01bc4ad3$f3702860$6aba0c26@cat>
1997-04-17  0:00     ` Tom Moran
1997-04-17  0:00   ` Robert Dewar [this message]
1997-04-18  0:00 ` Mark & Zurima McKinney
replies disabled

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