From: schwarza@gdls.com (Art Schwarz)
Subject: CallBack routines
Date: 1996/06/07
Date: 1996-06-07T00:00:00+00:00 [thread overview]
Message-ID: <4p9o2o$jad@mill.gdls.com> (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
reply other threads:[~1996-06-07 0:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox