getenv implementation?
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Sun Aug 29 23:32:00 GMT 2004
Steve Kargl wrote:
> On Mon, Aug 30, 2004 at 01:00:50AM +0200, Tobias Schl?ter wrote:
>>Try this:
>>
>>Steve Kargl wrote:
>>
>>> character*7 name, value
>> ^^^
>From your answer it appears that I wasn't clear enough: what I meant to say is
that if you replace '*70' by '*7' (==LENGTH("DISPLAY")), your program
magically works. That is because the trailing spaces are not stripped in our
implementation of getenv. The question about g77 was because I was wondering
how or if g77 deals with this.
- Tobi
More information about the Fortran
mailing list