把数据写到文件再读到数组,结果读出都是0,大神指点哪里错了?
浏览:1032 回答:3
!***********************
*CREAT,AWRI,MAC
*CFOPEN,AA,TXT
*VWRITE,B,G
(F5.1,/F5.1)
*CFCLOS
*END
!***********************
finish
/cle
b=2
g=12
ARG1=B
ARG2=G
WRI,ARG1,ARG2
*DIM,CACHE,,2,1
*CREAT,AA
*VREAD,CACHE(1),HGK,TXT,,,1,2,1
(F5.1)
*END
*STATUS,CACHE
*status列出结果都是0,附上命令流,大神指点指点哪里错了?