Topic: Read statement issues
000600400
700003600
000091080
000000000
050180003
000306045
040200060
903000000
020000100
xxxxxxxxx
xxxxxxxxx
Above is a win10 notepad text file read by
relevant code which follows:
! Sudoku Grid
integer, dimension (9, 9) :: grid
implicit none
integer :: i
integer :: j
OPEN (UNIT=5,FILE='D:\\Grid92.txt')
do i=1,9
Read(5, '(9I1)') (grid(i,j), j=1,9)
end do
If you remove the two x lines
does the read statement fail ?
If so, why ?
Bob