From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,799e6e37c90ca633 X-Google-Attributes: gid103376,public From: Brian Rogoff Subject: Re: Future Ada language revisions? Date: 1998/10/05 Message-ID: #1/1 X-Deja-AN: 397951008 References: <6um7on$db5$1@nnrp1.dejanews.com> <6umk64$pt0$1@nnrp1.dejanews.com> <3618DAE7.326A@oen.siemens.de> Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: 907604399 26079 bpr 206.184.139.136 MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-10-05T00:00:00+00:00 List-Id: Actually Alfred, Ada 95 *does* support the equivalent of C function pointers, although you'll have to use the Ada terminology "access to subprogram" to find them. If you really want to be a trouble-maker, you'll complain that the limitations on them make them only as powerful as C's function pointers, and less powerful than Pascal's function arguments (terminology?), and in that case I can point you directly to the long arguments on why they are so restricted :-) -- Brian On Mon, 5 Oct 1998, Alfred Hilscher wrote: > I have an other question to the Ada95 design: Why does Ada not support > simple PROCEDURE-Types (like C or Modula). When writing GUI > applications, one needs always to pass callback routines. They are in > fact passed as procedure variables. In Ada one have to pass adresses > instead. While Ada has task type, I did not found any procedure type. Is > there really none (and if, why not) or am I blind ? > > Alfred > >