home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!wupost!psuvax1!psuvm!jxu3
- Organization: Penn State University
- Date: Tue, 5 Jan 1993 01:58:17 EST
- From: <JXU3@psuvm.psu.edu>
- Message-ID: <93005.015817JXU3@psuvm.psu.edu>
- Newsgroups: comp.lang.pascal
- Subject: Passing functions as params in Turbo Pascal
- Lines: 14
-
- While ISO Standard Pascal (as defined by Jensen and Wirth) allows
- passing functions as parameters to other functions or procedures,
- Turbo Pascal 6.0 that I use at school, declares an error that an
- identifier is expected, which means that I cannot pass functions
- as parameters in the standard way. For all you TP experts on the
- net, is there a workaround? e.g. something like defining pointers
- to functions as one might do in C? Thanks in advance for any help
- in this matter. I desperately need this feature, so that I don't
- have to write a separate integration procedure for every function
- I want to integrate.
-
- Atul Ramani
- PSUVM
- ===========
-