CHARACTER Function Useage Legal/Illegal?
From: dpbozarth (dpbozarth_at_swko.net)
Date: 05/30/04
- Next message: Tim Prince: "Re: CHARACTER Function Useage Legal/Illegal?"
- Previous message: NM: "Re: C++ Fortran mixed programming"
- Next in thread: Tim Prince: "Re: CHARACTER Function Useage Legal/Illegal?"
- Reply: Tim Prince: "Re: CHARACTER Function Useage Legal/Illegal?"
- Reply: bud davis: "Re: CHARACTER Function Useage Legal/Illegal?"
- Reply: Richard Maine: "Re: CHARACTER Function Useage Legal/Illegal?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 May 2004 07:32:55 -0700
Is the following a legal useage of a character function in F77?
OPEN(UNIT=2,FILE=GETNAM('FOR002'),STATUS='UNKNOWN')
where the declaration for GETNAM() is
CHARACTER*80 FUNCTION GETNAM(NAMEIN)
GETNAM returns a filename from an environment variable of the name
NAMEIN if it is found or, if not found, the value of NAMEIN.
- Next message: Tim Prince: "Re: CHARACTER Function Useage Legal/Illegal?"
- Previous message: NM: "Re: C++ Fortran mixed programming"
- Next in thread: Tim Prince: "Re: CHARACTER Function Useage Legal/Illegal?"
- Reply: Tim Prince: "Re: CHARACTER Function Useage Legal/Illegal?"
- Reply: bud davis: "Re: CHARACTER Function Useage Legal/Illegal?"
- Reply: Richard Maine: "Re: CHARACTER Function Useage Legal/Illegal?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|