The target is to convert a large file.txt in file.csv

(in the source file the fields are in different lines... )

The idea is to store the entire file in array, and after iterate the elements (to manipulate the contents).

But this (symple) code:

Sub Main
 dim contenutofile(121000)' as array
 dim pathfile as string
 pathfile = "c:\Basilicata.txt"
 converttourl(pathfile)
 loaddatafromfile(pathfile, pippo())
 for i = 0 to 12000
 msgbox pippo(i)
 next i
End Sub

seems to work only for wide file...

In large files (130.000 lines) the function loaddatafromfile return Overflow error...

There is a max element nunber for the array, or the limits depend from machine resource?

Any idea or suggest to resolv my problem in OO?

thanks for the answers

Bart

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to