You should be able to read the file one chunk at a time. For example:
on mouseUp
answer file "the huge file"
if it <> "" and the result = "" then
put it into theFilePath
end if
open file theFilePath for read
repeat until the result = "eof"
read from file theFilePath until return
put it into theCurrentLine
--do stuff here with theCurrentLine
--but don't keep the data completely in memory!!!
end repeat
close file theFilePath
end mouseUp
Adjust as needed
Bjoernke
On 19 Jan 2008, at 20:58, Till Bandi wrote:
it is a csv file, that means it is a text file. I work on a mac with
OS X 10.5. English is not my mother tongue but I think that is not
the problem.
I did not have time yet to try the solution Mark Smith proposed -
tomorrow I'l try.
Thanks, Till
Am 19.01.2008 um 19:20 schrieb Joe Lewis Wilkins:
Till,
What kind of files are they? Text, picts, sounds? And what is their
structure? How organized? How can they be opened for editing/
reorganizing/resizing? What platform are you using and upon which
one(s) do you plan to run the RR solution? I take it that English
is not your language of choice; could that be a problem, since it
is mine?
Not sure I can help, but these would all be considerations/concerns.
Joe Willkins
On Jan 19, 2008, at 10:03 AM, Till Bandi wrote:
Joe
I think I am in control of the situation - but I did not find a
way to split my 5.6 Gigabyte file into smaller files. Any idea?
Till
Am 18.01.2008 um 08:02 schrieb Joe Lewis Wilkins:
Till,
Sounds to me as if you need to make some better arrangements;
file-size-wise that is. You are in control of the situation; are
you not?
Joe Wilkins
--
official ChatRev page:
http://chatrev.bjoernke.com
Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev"
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution