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
Do you know for sure what char your return char is and del is set to it?
-Original Message-
From: "Till Bandi" <[EMAIL PROTECTED]>
To: "How to use Revolution"
Sent: 1/19/2008 11:58 AM
Subject: Re: Delete lines in files (text files)
it is a csv file, that means
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
On OS X (and Linux, I'd think), there's a cammand line utility which
split big files up into files of whatever size/number of lines you
like. It's called 'split'
If you type "man split" into a terminal window, you'll see it's manual.
Best,
Mark
On 19 Jan 2008, at 18:03, Till Bandi wrote:
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 o
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
On Jan 17, 2008, at 11:22 PM, Till Bandi wrote:
I guess that would be a good solution - my only problem is that the
file has 5.6 Gigabytes. So I can't put it all in memory.
My real problem is here:
put 1 into vStartwert
set the cursor to watch
open file tFileIn
open file tFi
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
On Jan 17, 2008, at 10:22 PM, Till Bandi wrote:
I guess that would be a good solution - my only problem is that the
file has 5.6 Gigaby
I guess that would be a good solution - my only problem is that the
file has 5.6 Gigabytes. So I can't put it all in memory.
My real problem is here:
put 1 into vStartwert
set the cursor to watch
open file tFileIn
open file tFileOut
repeat forever
read from file tF
Randall-
> But isnt 10 a bit draconian?
Yep - it's draconian and it's arbitrary. And every time I get riled up about
it I calm down and figure out a way to do what I want without having to
break the limits. Sometimes by realizing that my app really can be better
placed as a plugin stack, in wh
s one line
only for instance.
Le 17 janv. 08 à 23:47, Randall Lee Reetz a écrit :
But isnt 10 a bit draconian?
-Original Message-
From: "Eric Chatonet" <[EMAIL PROTECTED]>
To: "How to use Revolution"
Sent: 1/17/2008 2:27 PM
Subject: Re: Delete lines in fil
But isnt 10 a bit draconian?
-Original Message-
From: "Eric Chatonet" <[EMAIL PROTECTED]>
To: "How to use Revolution"
Sent: 1/17/2008 2:27 PM
Subject: Re: Delete lines in files (text files)
Hi Randall,
If you were allowed to set any script to any value (i.
:18, Randall Lee Reetz a écrit :
I dont get it... Please explain.
-Original Message-
From: "Eric Chatonet" <[EMAIL PROTECTED]>
To: "How to use Revolution"
Sent: 1/17/2008 12:35 PM
Subject: Re: Delete lines in files (text files)
Hi Randall,
Le 17 janv. 08 à
I dont get it... Please explain.
-Original Message-
From: "Eric Chatonet" <[EMAIL PROTECTED]>
To: "How to use Revolution"
Sent: 1/17/2008 12:35 PM
Subject: Re: Delete lines in files (text files)
Hi Randall,
Le 17 janv. 08 à 21:00, Randall Lee Reetz a écrit :
Hi Randall,
Le 17 janv. 08 à 21:00, Randall Lee Reetz a écrit :
But i didn't know about this ten line limit? That seems strange.
Why is that limit there? And, yes i want to know how to fake it.
This limit is just to prevent malicious guys to fake Rev itself :-)
Best regards from Paris,
E
Randall-
The ten-line limit is only for standalone apps. If you're running in the IDE
there's no limit. Does that help?
--
Mark Wieder
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subs
Was joking.
-Original Message-
From: "Devin Asay" <[EMAIL PROTECTED]>
To: "How to use Revolution"
Sent: 1/17/2008 11:44 AM
Subject: Re: Delete lines in files (text files)
On Jan 17, 2008, at 12:37 PM, Randall Lee Reetz wrote:
> Wow, i gave the superc
w to use Revolution"
Sent: 1/17/2008 11:52 AM
Subject: Re: Delete lines in files (text files)
Devin Asay wrote:
> On Jan 17, 2008, at 12:37 PM, Randall Lee Reetz wrote:
>> Wow, i gave the supercard syntax, lots more verbose, (better
>> question: how do you delete a line of s
Devin Asay wrote:
On Jan 17, 2008, at 12:37 PM, Randall Lee Reetz wrote:
Wow, i gave the supercard syntax, lots more verbose, (better
question: how do you delete a line of script?).
How about (not tested):
get the script of btn "myBtn"
delete line 4 of it
set the script of btn "myBtn" to it
On Jan 17, 2008, at 12:37 PM, Randall Lee Reetz wrote:
Wow, i gave the supercard syntax, lots more verbose, (better
question: how do you delete a line of script?).
How about (not tested):
get the script of btn "myBtn"
delete line 4 of it
set the script of btn "myBtn" to it
I think you migh
Wow, i gave the supercard syntax, lots more verbose, (better question: how do
you delete a line of script?).
randall
-Original Message-
From: "Devin Asay" <[EMAIL PROTECTED]>
To: "How to use Revolution"
Sent: 1/17/2008 11:25 AM
Subject: Re: Delete lines in f
You open the file
You read the contents odd the file
You put it into a var or field or customprop
You close the file
You delete the lines in your container
You open the file again
You write that container to the file
You close the file
-Original Message-
From: "Till Bandi" <[EMAIL PROTECTED
On Jan 17, 2008, at 12:05 PM, Till Bandi wrote:
Hi all
is there a way to delete lines in a text file from Revoution? - i
did not see how this can be done but probably it is very simple.
Till,
You have to read it in then write it back out. You can do it in one
line like this (assume you
23 matches
Mail list logo