* CallBack routines
@ 1996-06-07 0:00 Art Schwarz
0 siblings, 0 replies; only message in thread
From: Art Schwarz @ 1996-06-07 0:00 UTC (permalink / raw)
In Ada 83: I'm trying to fake (?), implement (?) the use
of callback functions - unsuccessfully. The
best seen here is a generic which allows the
use of generic procedures. The generic procedures
(within the generic template) is used as a
'callback'. Anything better around?
For example what I'd like (a la C/C++):
qsort(list, callbackfn) where the callbackfn
returns the result of
comparing two elements
from the list.
(Since this is an example, I've taken some liberties).
art
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-06-07 0:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-07 0:00 CallBack routines Art Schwarz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox