fs=file size("anyfile.txt")
for a =1 to fs
byte= read byte from file ("anyfile.txt",a)
if right$(bin$(byte),8) = "11111111" then goto exit_file_search
next a
exit_file_search:
print a
end
This code can take a very long time to run. I'm using
files as large as 5 meg to 10 meg. I would like this to
run in as little as 1 second. As it is now I've seen it take
as long as 30 seconds.
If it was converted to c++ how fast would it run? I dont
know too much about c++ and how to get DB to read c++ files.
Any help would be appreciated.