Disk I/O library; HD read/write status function

Blitz3D Forums/Blitz3D Beginners Area/Disk I/O library; HD read/write status function

zimmerman(Posted 2009) [#1]
Hello,

Is there a library for Blitz that has a function that will return hard drive read/write activity status? Or something similar? Any help appreciated. Thanks!


Terry B.(Posted 2009) [#2]
dont know about activity STATUS persay, but you can load with the old openfile("pathname.ext") and read em.

like:
file = openfile("pathname.ext")
if file <>0
   while not eof(file)
    dat=readline(file)
   wend 
endif



And writefile
file = writefile("pathname.ext")
if file <>0
    writeline file,dat
endif


hope that helps.