next up previous contents
Next: Inqiry intrinsics etc. Up: Array Sections Previous: Array Sections

Solution

Here is a program to do this,
    PROGRAM Draughts
     IMPLICIT NONE
     INTEGER :: i
     INTEGER, DIMENSION(8,8) :: Board = 0
     Board(::2,::2) = 1
     Board(2::2,2::2) = 1
     DO I = 1,8
      PRINT*, Board(i,:)
     END DO
    END PROGRAM Draughts


next up previous contents
Next: Inqiry intrinsics etc. Up: Array Sections Previous: Array Sections

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 14:10:26 GMT 1996