Re: How to detect NULL input?



Rich Townsend <rhdt@xxxxxxxxxxxxxxxxxxx> wrote:


> Aren't you assuming that the program is F9X? From the fixed formatting, it
> looks more like F77 --- and thus the compiler will barf if you put in
> CONTAINS and ==.

Fixed source form is valid in either f90 or f77. As I said elsethread,
the result clause in the function statement is neither f77 nor a
common f77 extension. I'd guess that the OP is using an
f90/f95 compiler.

That doesn't mean I agree with the advice and the way it was stated
(which I wouldn't have seen if you hadn't quoted it in full), but I
suspect this aspect was probably correct.

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.



Relevant Pages

  • Re: string concatenation
    ... magic number for source line length - at least in fixed source form. ... I recommend moving to a more modern compiler. ... I cannot although f90 was shipped along with f77 by absoft. ...
    (comp.lang.fortran)
  • Re: string concatenation
    ... magic number for source line length - at least in fixed source form. ... I recommend moving to a more modern compiler. ... I cannot although f90 was shipped along with f77 by absoft. ...
    (comp.lang.fortran)
  • Re: string concatenation
    ... magic number for source line length - at least in fixed source form. ... I recommend moving to a more modern compiler. ... I cannot although f90 was shipped along with f77 by absoft. ... Maybe the OP can convince the sysadmins to link the f77 compiler name to the actual f90 compiler? ...
    (comp.lang.fortran)