logical operator in fortran 90

From: joel GUERRERO (joegi.geo_at_yahoo.com)
Date: 10/20/04


Date: 19 Oct 2004 20:22:29 -0700

Hi,
I'm having the following problem with fortran 90 using logical
operators.
With the following statement I get the right answer. The statement is
as follows:
if(x_cor_split(j).eq.x_cor_split(repetidos(i,2)).and.&
y_cor_split(j).eq.y_cor_split(repetidos(i,2))) then ...

Now, I need to obtain exactly the opposite answer, so I suppose that I
just need to change the lo .eq. by .ne., but when I change the lo, I
get a totally different answer of what I was expecting for. How can I
solve this problem?

FYI I'm using cvf 6.6

Hope somebody can help me,

Greetings,
Joel



Relevant Pages

  • Re: On the future of Compaq Visual Fortran !
    ... > development of formerly Compaq Visual Fortran (CVF) for Windows ... it will be merged with Intel Fortran compiler. ... Compaq effectively sold to Intel various technologies ...
    (comp.lang.fortran)
  • Re: How to get a file length in Intel Fortran 8.1
    ... Code is set up for Compaq CVF ... Lah - Lahey/Fujitsu LF95 ... INT - Intel Fortran For Linux ... USE xxLIB (must be just after SUBROUTINE statement). ...
    (comp.lang.fortran)
  • Re: bye bye CVF
    ... When converting a CVF V6 project that uses the default CVF calling ... The Help button is not yet supported in the Fortran AppWizard ... > the Gold Standard in Fortran, it would appear that IVF doesn't even merit ... projects are backwardly compatible with L/F's IMSL 4.0. ...
    (comp.lang.fortran)
  • Re: end-of-file during read using unformatted reading
    ... F77/F90 compiler, not F95 or 2003 NET conforming as later notes seem to ... CVF 6.6C is fully compliant with Fortran ... taught it as IBM lecturer at London University in computer scence. ...
    (comp.lang.fortran)
  • Re: bye bye CVF
    ... Quickest migration I ever ... CVF has its heritage in the VAX FORTRAN ... >its Fortran compiler from Intel. ...
    (comp.lang.fortran)