Symbol already has basic type of CHARACTER
<p>I have some code like the below in Fortran 90:</p>

<pre><code>PROGRAM TICTACTOE
  IMPLICIT none
  character (len=1), DIMENSION(3,3) :: ticTac
  character :: winner

  SUBROUTINE CHKOVR(ticTac, over, winner)
    character (len=1), DIMENSION(3,3) :: ticTac
    character :: winner
    logical over

  END SUBROUTINE CHKOVR
END PROGRAM TICTACTOE
</code></pre>

<p>I am getting the errors:</p>

<pre><code>tictactoe.f90:11:2:

   SUBROUTINE CHKOVR(ticTac, over, winner)
  1
Error: Unclassifiable statement at (1)
tictactoe.f90:12:47:

     character (len=1), DIMENSION(3,3) :: ticTac
                                               1
Error: Symbol ‘tictac’ at (1) already has basic type of CHARACTER
tictactoe.f90:13:23:

     character :: winner
                       1
Error: Symbol ‘winner’ at (1) already has basic type of CHARACTER
tictactoe.f90:16:5:
</code></pre>

<p>I am trying to convert some older fortran code to more modern fortran 90.</p>

<p>Admittedly I don't know the language very well at this point. In the old code this kind of stuff was working fine. Is the <code>ticTac</code> treated as a global variable here and I shouldn't be passing it to the subroutine? The old code did this, but I have a suspicion that what I have now is some kind of global variable. </p>

<p>Or is the problem something else?</p>