Re: !MS$LOCICAL:2
- From: "max" <none@xxxxxxxx>
- Date: Sat, 29 Apr 2006 12:47:07 GMT
"Gary L. Scott" <garyscott@xxxxxxx> wrote in message
news:1255dsk44a9hpc4@xxxxxxxxxxxxxxxxxxxxx
philbrierley@xxxxxxxxxxx wrote:
Hi,Doesn't appear to be one for logical in the documentation.
I put the following directives at the top of a module and it compiles
OK.
!MS$REAL:8
!MS$INTEGER:4
What is the equivalent for a logical. I get an 'Invalid DEC$ directive
!MS$LOGICAL:2' with the following...
!MS$LOGICAL:2
I am using CVF.
Thanks in advance,
Phil
It shouldn't matter. You are saying that all REAL declarations should act as
if they were DOUBLE PRECISION; all INTEGER declarations should act as if
they were INTEGER*4, otherwise known as INTEGER; and all LOGICAL to act as
LOGICAL*2 (which does exist) - but for compatability you are better off
leaving LOGICAL as default kind LOGICAL. If the code *really* does need
LOGICAL*2, then do so a global replace. Better still would be to consult the
manual and setip using KIND rather than *byte decriptors.
.
- References:
- !MS$LOCICAL:2
- From: philbrierley
- Re: !MS$LOCICAL:2
- From: Gary L. Scott
- !MS$LOCICAL:2
- Prev by Date: Re: Fortran 2008 (was Re: New style DO syntax?)
- Next by Date: Re: Fortran 2008 (was Re: New style DO syntax?)
- Previous by thread: Re: !MS$LOCICAL:2
- Index(es):