re, Giant files
Sadhunathan Nadesan
sadhu at castandcrew.com
Fri Nov 8 19:30:01 EST 2002
| Try something alike :
|
| > on mouseup
| > put "1" into startread
| > open file thefile for read
| > read from file thefile until eof
| > put the num of lines of it in endtoread
| > close file thefile
| > repeat while startread < endtoread
| > open file thefile for read
| > read from file thefile at startread for 99 lines
| > ...
| > do what you need with it
| > ...
| > close file thefile
| > add 100 to startread
| > end repeat
| > end mouseup
|
| --
| Cordialement, Pierre Sahores
Merci bocoup Pierre,
I'll try it and let you know the speed. I have
to guess it's going to be slow though. But at
least it should run to completion.
Perhaps this will inspire MC coders to optimize!
Take the speed challenge! Put your MC script up
against a compiled language! A prize for the
fastest program.
Aloha,
Sadhu
More information about the metacard
mailing list