I am writing a Fortran program in which one line is written like this
open(unit=un1,file=filenm,form='unformatted',buffered='yes',status='replace',buffercount=127)
I have defined
character*256 filenm.
un1=11
but still I am getting error
"Syntax error at or near =" in that line..
character*256
is outdated. You should usecharacter(len=256) :: filename