- 积分
- 3632
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-10-21
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
文件像这个样子(见附件):
问题使实用readf读取,只能一个个读取,且读完第一列就停了。
file1='C:\Users\Administrator\Desktop\data.txt'
openr,65,file1
for i=0,11 do begin
readf,65,x
print,x
endfor
FREE_LUN,65
输出:
% Compiled module: HUATU.
0.000000
3.00000
6.00000
9.00000
9.00000
% READF: End of file encountered. Unit: 65
File: C:\Users\Administrator\Desktop\data.txt
% Execution halted at: HUATU 5
C:\Users\Administrator\Desktop\huatu.pro
% $MAIN$
|
-
-
data.txt
194 Bytes, 下载次数: 0, 下载积分: 金钱 -5
|