Re: IF statements



On May 30, 1:02 am, m...@xxxxxxxxxxxxxxx wrote:
In a previous article, smurray444 <smurray...@xxxxxxxxx> wrote:>Hi guys - thanks for your replies so far.

Just to clarify, by being 'present' in the cell, I mean, if the
variable 'result' exists in a given cell - as I think Gus suggests.
However, his code looks suitable only for Fortran 90, whereas I'm
using Fortran 77, so I was wondering if there's a F77 equivalent?

Many thanks,
smurray444

First fill all the cells with a number you will regard as a gap.
If the cell remains that number, then its value does "not exist".
I usually use 1.e7 for similar purposes ... depends on your
actual values.

Chris

I use a bit table to decide if a cell contains a value or is empty.
The bit table is set to all zeros as an integer 2 or 4 zeroing.
Frnm the coordinates of the cell I easily form a byte index and a bit
number.
As the table is filled I set the cell bit.
On processing I can check the bit.

This is the heart of survey processing of truth values to count
responses where the cell might contain a quantity.

.



Relevant Pages

  • Re: IF statements
    ... variable 'result' exists in a given cell - as I think Gus suggests. ... However, his code looks suitable only for Fortran 90, whereas I'm ... so I was wondering if there's a F77 equivalent? ...
    (comp.lang.fortran)
  • Re: IF statements
    ... Just to clarify, by being 'present' in the cell, I mean, if the ... variable 'result' exists in a given cell - as I think Gus suggests. ... However, his code looks suitable only for Fortran 90, whereas I'm ...
    (comp.lang.fortran)
  • RE: IF statements
    ... Just to clarify, by being 'present' in the cell, I mean, if the ... variable 'result' exists in a given cell - as I think Gus suggests. ... However, his code looks suitable only for Fortran 90, whereas I'm ... I usually use 1.e7 for similar purposes ... ...
    (comp.lang.fortran)
  • RE: IF statements
    ... Just to clarify, by being 'present' in the cell, I mean, if the ... variable 'result' exists in a given cell - as I think Gus suggests. ... However, his code looks suitable only for Fortran 90, whereas I'm ... I usually use 1.e7 for similar purposes ... ...
    (comp.lang.fortran)
  • RE: IF statements
    ... Just to clarify, by being 'present' in the cell, I mean, if the ... variable 'result' exists in a given cell - as I think Gus suggests. ... However, his code looks suitable only for Fortran 90, whereas I'm ... I usually use 1.e7 for similar purposes ... ...
    (comp.lang.fortran)