#156437 - 2006-02-01 06:51 PM
Is a 16MB text file too big to parse??
|
thepip3r
Hey THIS is FUN
   
Registered: 2005-03-02
Posts: 350
|
I have a text file that's 16MB and when I run a script I'm writing on it, just a black screen comes up and nothing happens. Is there a max size on the text file size that KiX can parse?
Code:
Break On
$SO=SetOption('NoVarsInStrings','On') $SO=SetOption('NoMacrosInStrings','On') $SO=SetOption('WrapatEOL','On')
$report = ReadFile(@ScriptDir+'\'+'test.txt')
For Each $line in $report ? $line ; $split = Split($line," ") ; ? $split[0] Next
|
|
Top
|
|
|
|
#156446 - 2006-02-02 09:10 PM
Re: Is a 16MB text file too big to parse??
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
Quote:
often-trivial posts
No problem... no more trivial than many of the ones posted even by Moderators.
As long as we're all learning more and able to perform our jobs better then I think this board is doing a great job.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 927 anonymous users online.
|
|
|