Re: BOZ literal constants, a puzzle for us Standard-loving types.
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: Wed, 28 Mar 2007 13:47:26 -0800
Steven G. Kargl wrote:
What do you mean by fails? You need to provide a complete
compilable code and the error. Also note that gfortran is
a Fortran 95 compiler with extensions that include BOZ.
data i/int(123)/
1
Error: Symbol 'int' must be a PARAMETER in DATA statement at (1)
boz.f:4.17:
data r/real(1.23)/
1
Error: Symbol 'real' must be a PARAMETER in DATA statement at (1)
pion> cat boz.f
program test
integer i
data i/int(123)/
data r/real(1.23)/
print *, i, r
end
-- glen
.
- Follow-Ups:
- Re: BOZ literal constants, a puzzle for us Standard-loving types.
- From: Steven G. Kargl
- Re: BOZ literal constants, a puzzle for us Standard-loving types.
- References:
- BOZ literal constants, a puzzle for us Standard-loving types.
- From: Toon Moene
- Re: BOZ literal constants, a puzzle for us Standard-loving types.
- From: Steven G. Kargl
- Re: BOZ literal constants, a puzzle for us Standard-loving types.
- From: glen herrmannsfeldt
- Re: BOZ literal constants, a puzzle for us Standard-loving types.
- From: Steven G. Kargl
- BOZ literal constants, a puzzle for us Standard-loving types.
- Prev by Date: Re: calculation accuracy
- Next by Date: Re: Why float is called as 'float', not 'real'?
- Previous by thread: Re: BOZ literal constants, a puzzle for us Standard-loving types.
- Next by thread: Re: BOZ literal constants, a puzzle for us Standard-loving types.
- Index(es):