home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!cs.utexas.edu!hermes.chpc.utexas.edu!michael
- From: michael@chpc.utexas.edu (Michael Lemke)
- Subject: Re: SUMMARY: CHARACTER FUNCTION as dummy argument
- Message-ID: <1992Dec15.192100.310@chpc.utexas.edu>
- Organization: The University of Texas System - CHPC
- References: <BURLEY.92Dec15044825@apple-gunkies.gnu.ai.mit.edu>
- Date: Tue, 15 Dec 92 19:21:00 GMT
- Lines: 31
-
- In article <BURLEY.92Dec15044825@apple-gunkies.gnu.ai.mit.edu> burley@apple-gunkies.gnu.ai.mit.edu (Craig Burley) writes:
- [...]
- >
- >If anyone has a system that supports the code in Sample 1 (like VAX/VMS
- >FORTRAN), it'd be interesting to see how well it handled the following:
- >
- >C Sample 6
- > CHARACTER*(*) CFUNC
- > EXTERNAL CFUNC
- > CALL X (CFUNC)
- > PRINT *, 'Done!'
- > END
- [rest of code deleted]
-
- Compiled on VMS:
-
- $ for foo
-
- %FORT-F-ADJLENUSE, Passed length character name used in invalid context
- [CFUNC] in module FOO$MAIN
- %FORT-F-ENDNOOBJ, IO$DUC0:[MICHAEL]FOO.FOR;2 completed with 1 diagnostic - objec
- t deleted
-
-
- So it doesn't seem to be legal but I can't quote the standard.
-
- Michael
- --
- Michael Lemke
- Astronomy, UT Austin, Texas
- (michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])
-