.....
dim string1 as string * 1024
filenum=freefile
open c:\test.bmp for byte as #filenum
while not eof(filenum)
for i=0 ot 40
get i*1024+1,string1
next
loop
......test.bmp 有100k
调试时每到 i 为32时就 适时错误:溢出
若把string1 dim为 string*2048,则 i 为16时出错
dim string1 as string * 1024
filenum=freefile
open c:\test.bmp for byte as #filenum
while not eof(filenum)
for i=0 ot 40
get i*1024+1,string1
next
loop
......test.bmp 有100k
调试时每到 i 为32时就 适时错误:溢出
若把string1 dim为 string*2048,则 i 为16时出错
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货