Matthijs van Waveren writes:
> Vanwormer, Laura A. wrote:
> > I added a CHARACTER*6 COM(6,3) statement and am now getting an error message
> You can also try out the following declaration:
> CHARACTER (LEN=6) COM(6,3)
That's unlikely to make much difference. Those are just minor syntax
variations on the same declaration. Both should be legal and
completely equivalent on any f90 compiler. For f77, the character*6
form is legal and the character(len=6) is not. I forget whether
Laura was trying to use an f77 or f90 compiler.
The problem description sounds a lot like f66-style Hollerith to me.
I'll let others help with suggestions about converting Hollerith or
getting her compiler to accept it. Conversion can range from trivial
to really tricky, depending on the particular code. If you have
things like arrays with some elements used as numeric and other
elements used as Hollerith, that's one of the things that can make
conversion tricky.
--
Richard Maine
[log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|