PR26661 Testcase
Jerry DeLisle
jvdelisle@verizon.net
Sun Mar 26 18:37:00 GMT 2006
Bud Davis wrote:
> in the interest of fully using the more esoteric
> features of the fortran langauge, how about the
> following to create the file:
>
> [bdavis@gfortran bin]$ cat a.f
> 100 format(A,$)
> write(7,100)' abc def ghi jkl'
> end
> [bdavis@gfortran bin]$ gfc a.f
> [bdavis@gfortran bin]$ ./a.out
> [bdavis@gfortran bin]$ hexdump fort.7
> 0000000 6120 6362 6420 6665 6720 6968 6a20 6c6b
> 0000010
>
> which is the same as:
>
> [bdavis@gfortran bin]$ hexdump read_x_past.dat
> 0000000 6120 6362 6420 6665 6720 6968 6a20 6c6b
> 0000010
Well now thats slick!
I will put that together here and use it.
Thanks Bud.
Best regards,
Jerry
More information about the Fortran
mailing list