home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / fortran / 2995 next >
Encoding:
Text File  |  1992-08-12  |  1.7 KB  |  38 lines

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