G
Guest
I am importing a file using the following code but I am having difficulty
determining the end of the file, Currently I just create a very large array &
hope it fits.
ReDim a(0 To 100000)
inputfile = "C:\Temp\Remittance.dat"
Open inputfile For Binary Access Read As #2
Get #2, , a
Close #2
For Cnt = 0 To UBound(a()) '100000
Str = Str & Chr(a(Cnt))
Next
Amiga1200
determining the end of the file, Currently I just create a very large array &
hope it fits.
ReDim a(0 To 100000)
inputfile = "C:\Temp\Remittance.dat"
Open inputfile For Binary Access Read As #2
Get #2, , a
Close #2
For Cnt = 0 To UBound(a()) '100000
Str = Str & Chr(a(Cnt))
Next
Amiga1200