Re: IF statements
- From: Terence <tbwright@xxxxxxxxx>
- Date: 29 May 2007 16:01:20 -0700
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.
.
- References:
- IF statements
- From: smurray444
- Re: IF statements
- From: smurray444
- RE: IF statements
- From: meek
- IF statements
- Prev by Date: Re: I am looking for library from Lahey Fortran 95 v.5.5
- Next by Date: Re: Salford Fortran - Double Precision product
- Previous by thread: RE: IF statements
- Next by thread: Re: IF statements
- Index(es):
Relevant Pages
|