你试试看把这段这么写,我也不知道正不正确呵呵:(因为我不知道气球兄这种做法是不是能把文件读取完全,但是PB的帮助里是和气球兄写的一样的)
FOR i = 1 to loops
fileseek(li_filenum,i*32765+1,fromcurrent!)
bytes_read = FileRead(li_FileNum, b)
tot_b = tot_b + b
This example reads a file exceeding 32,765 bytes. After the script has read the file into the blob tot_b, you can call the SetPicture or String function to make use of the data, depending on the contents of the file: