Topic: Read Sudoku data
I am trying to load a 9x9 sudoku grid from a text file.
The file was created in Notepad and saved as a .txt file.
The first row contains keyed text data 006040089
and the second row contains 145000070 The data is stored
in Hex as
30 30 36 30 34 30 30 38 39 0D 0A 31 34 35 30 30 30 30 37 30 0D 0A
The following was my first unsuccessful read attempt.
do i=1,9
do j=1,9
Read(5,10)grid(i,j)
end do
end do
10 Format(I1)
All constructive advice is appreciated as I experiment.
Bob