I have to read a very big file.
first action is to select lines with a certain string.
then take other actions.
If a select only the reading line, i have this:
Code: Select all
If ReadFile(0, file$)
While Eof(0) = 0
regel$ = ReadString(0)
; do something
Wend
CloseFile(0)
Else
MessageRequester("Information","Kan "+ file$ + " niet openen")
EndIf
CloseFile(99)
This take a few minutes..... is too long
Is there a quicker method of reading?
the files looks like this: ( but then 15 GByte long) ( it is called a .csv file)
7330159897,1710707880,DK5HH/3,JO43jb,-5,3.570107,PA0SLT,JO33kg,43,0,130,100,3,,1
7330159654,1710707880,DK6DV,JO31lk,-17,3.570112,PA0SLT,JO33kg,43,0,204,178,3,2.6.1,1
7330160649,1710707880,DK6UG,JN49cm,18,3.570108,PA0SLT,JO33kg,43,0,427,167,3,,1
7330164131,1710707880,DK8FT,JN58oe,2,3.570107,PA0SLT,JO33kg,43,0,642,150,3,,1
7330166195,1710707880,DL0HT,JO43jb,16,3.570107,PA0SLT,JO33kg,43,0,130,100,3,,1
7330163233,1710707880,DL0PF,JN68rn,-2,3.57012,PA0SLT,JO33kg,43,0,697,136,3,v1.2.51,1
7330165078,1710707880,DL2ZZ,JO31lo,-3,3.570114,PA0SLT,JO33kg,43,0,185,178,3,,1
7330163492,1710707880,DL3TU,JN48mm,6,3.570116,PA0SLT,JO33kg,43,0,550,163,3,,1
7330167099,1710707880,DL4RU,JN69cr,7,3.570107,PA0SLT,JO33kg,43,0,540,135,3,1.4A Kiwi,1
7330160053,1710707880,DL5ALW,JO51pd,7,3.570109,PA0SLT,JO33kg,43,0,383,126,3,2.6.1,1
7330161831,1710707880,DL7AUQ,JO62vt,-6,3.570108,PA0SLT,JO33kg,43,0,465,94,3,v1.2.49,1
7330162232,1710707880,DL8BBY/1,JO43jb,7,3.570109,PA0SLT,JO33kg,43,0,130,100,3,2.6.
thank you very much for help
Wim