On Sat, 24 Sep 2022 19:12:39 +0200, Bernd Oppolzer wrote: > >In C, I did this using function pointers. >In Pascal, I can pass procedures or functions to procedure parameters >(procedures passed as >parameters to other procedures), which is virtually the same as function >pointers, but IMO looks nicer. > ... Standard Pascal does not provide function pointers, so passed procedures must be in static scope at the point of the call that passes them. This is sometimes inconvenient.
-- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN