Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Please HELP with IO

yesint
Beginner
407 Views
Could someone help me with the following codes:

1)
do while(.not. eof(111)) ...

This workes well in Compaq Fortran for Windows, but ifc doesn't support eof function...
Is it possible to rewrite this in some way?

2)
open(111,'(I10, I3, I4 ...
^
generates format error. What's wrong?

Thank you very much in advance for help.

Sincerely,
S. Yesylevskyy
0 Kudos
1 Reply
grann
Beginner
407 Views
Maybe use flag -Vaxlib in your compilation or rewrite code using IOSTAT if there is a READ statement in your loop that takes you to end-of-file.
0 Kudos
Reply