home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!haven.umd.edu!news.umbc.edu!umbc4.umbc.edu!hybl
- From: hybl@umbc4.umbc.edu (Dr. Albert Hybl (UMAB-BIOPHYS))
- Subject: Re: Fortran 90: Pointers to Functions?
- Message-ID: <1992Aug12.124212.27183@umbc3.umbc.edu>
- Keywords: missing feature?
- Sender: newspost@umbc3.umbc.edu (News posting account)
- Organization: University of Maryland Baltimore Campus, Academic Computing Services
- References: <166htnINNhvn@darkstar.UCSC.EDU> <1693l7INNn4o@darkstar.UCSC.EDU>
- Date: Wed, 12 Aug 1992 12:42:12 GMT
- Lines: 25
-
- In article <1693l7INNn4o@darkstar.UCSC.EDU> sla@fast.ucsc.edu (Steve Allen) writes:
- >In article <166htnINNhvn@darkstar.UCSC.EDU> sla@fast.ucsc.edu I wrote:
- >>[paraphrased and condensed]
- >>Does Fortran 90 have something which matches the concept and
- >>functionality of C's "pointer to a function" in the manner of
- >> int (*func)();
- >Is there some other (reasonably elegant) method for getting this
- >kind of functionality in Fortran 90?
- >Steve Allen (sla@helios.ucsc.edu)
-
- Good, you could spend 20 years trying to get it into F77/F90/F2001
- or you could have asked your vendor to put it into their compiler
- as an extension, instead you are asking the fortran community to
- help find a solution. It is an ideal project for experimention.
-
- Several F77 features were added because they existed in widely used
- preprocessors. Perhaps some of your friends at NOAO working
- with IRAF could put this feature into their xpp preprocessor
- or perhaps someone could put it into GNU F90 when one becomes
- available. Perhaps it is time to allow C-language inclusions into
- fortran; that could "fix" many problems.
-
- Cheers,
- Albert Hybl (hybl@umbc3.umbc.edu)
-
-