I would like to go to a directory and take all files like "*.000" to show and open them for reading line to line and I don't know how to do it.
Something like..?
------------------------------------
Dim CurFile as string, InFile as byte, InLine as string
CurFile= dir("c:\tmp\*.000"
while CurFile<>""
infile=freefile
Open "c:\tmp\" & CurFile for input as #infile
while not eof(infile)
line inout #infile,inline
'code for each line here....
wend
close #infile
CurFile=dir
wend
------------------------------------
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.