On Sat, 6 Mar 1999, Dick Hendrickson wrote:
> real,dimension(:),pointer :: myarray
> ! something that either allocates myarray or pointer assigns it to
> ! point to a target array. Maybe
> ! read *, n
> ! allocate (myarray(n))
> ! or
> ! myarray => something_declared_as_a_target(1:n)
> !
> ! write ( unit=10,fmt=* ) myarray. <=========== 1
> write (unit=10, fmt="(f10.0,2f20.5,e15.3)") myarray <===== 2
If the size of myarray is 10, statement (1) will print all the entries in
a single line. Byt (2) will print in 3 different lines. What I want to
know is if there is any SIMPLE way to print all the entries in a single
line in f10.2 format, for instance.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|