主题:请教:字符转数据
character(40) XX(500000)
real(8) X0(500000)
DO I=1,N2
READ(XX(I),*)X0(I)
WRITE(*,*)X0(I),I
ENDDO
读到最后一行,出错:“list-directed i o syntax error”
real(8) X0(500000)
DO I=1,N2
READ(XX(I),*)X0(I)
WRITE(*,*)X0(I),I
ENDDO
读到最后一行,出错:“list-directed i o syntax error”