Re: IF statements
- From: Gus Gassmann <Horand.Gassmann@xxxxxx>
- Date: 31 May 2007 12:17:54 -0700
On May 31, 12:14 pm, smurray444 <smurray...@xxxxxxxxx> wrote:
Thanks for your replies. As a novice I'd be most comfortable using the
EXIST statement - but how would I go about doing this? Would I first
need to use INQUIRE?
Many thanks for any help offered.
smurray444
I think as a novice it would be easiest to follow meek's advice. When
you first set up the array, fill it with a value you know to be
nonsensical. For instance, put -1 if you know that all the genuine
values must be nonnegative. Then you can test existence by
IF (array(i) .ge. 0) then
....
.
- References:
- IF statements
- From: smurray444
- Re: IF statements
- From: smurray444
- RE: IF statements
- From: meek
- Re: IF statements
- From: Terence
- Re: IF statements
- From: Terence
- Re: IF statements
- From: smurray444
- IF statements
- Prev by Date: Re: re-using fortran dll in VS2005
- Previous by thread: Re: IF statements
- Next by thread: I am looking for library from Lahey Fortran 95 v.5.5
- Index(es):