Is there anyone here know what is the meaning of (‘/’)?
Thanks in advance
Is there anyone here know what is the meaning of (‘/’)?
Thanks in advance
read(num,‘/’) is bad Fortran; read(num,‘(/)’) means skip 2 lines of unit num.
(Thanks to RonShepard for the correction.)
write(unit(‘(A)’) trim(soimething) means write something, omitting trailing blanks.
the ‘/’ format skips two lines, not just one line. One for the read statement, and the second line for the / in the format. You are right, it should be enclosed in parentheses. It should not compile without them.