Jose J. Rodriguez ha scritto:
> On 2/3/09, richard terry wrote:
>
>> On Wed, 4 Feb 2009 04:07:01 am werner 007 wrote:
>> > Hi Richard
>> >
>> > Maybe you put the file in a array with split() if it makes sense for
>> > further work.
>> > Dont know how slow it is on such big files, but i mad
On 2/3/09, richard terry wrote:
> On Wed, 4 Feb 2009 04:07:01 am werner 007 wrote:
> > Hi Richard
> >
> > Maybe you put the file in a array with split() if it makes sense for
> > further work.
> > Dont know how slow it is on such big files, but i made no bad experience
> > with around 1
On Wed, 4 Feb 2009 04:07:01 am werner 007 wrote:
> Hi Richard
>
> Maybe you put the file in a array with split() if it makes sense for
> further work.
> Dont know how slow it is on such big files, but i made no bad experience
> with around 1 lines.
>
> Regards, Werner(007)
Thanks, will try all
Hi Richard
Maybe you put the file in a array with split() if it makes sense for further
work.
Dont know how slow it is on such big files, but i made no bad experience
with around 1 lines.
Regards, Werner(007)
--
View this message in context:
http://www.nabble.com/Some-file-use-or-progress-
Let me just add, I don't find such a function. So I might try something
own using Instr or String.Instr (which one is faster?).
The poor thing would still have to jump to some 30,000 linebreaks to
count them, no idea how long this would take in practice...
And: How long may strings be in Gambas
Don't know if this helps, just an idea:
>> 1) I have a file with some 30,000 lines, but I want to know how many lines
>> are
>> in the file before I do anything to it - is this possible. I couldn't see
>> how
>> just looking at the syntax for files.
>>
Read in the file to a string and coun
richard terry ha scritto:
(about the speed penalty)
Yes, updating the screen is sometimes a speed penalty, depending on the
complexity of the update, and the underlying hardware/software.
For a X console (xterm), it is a *big* job to scroll the text -
something less if the text does not scroll.
On Monday 02 February 2009, richard terry wrote:
> 1) I have a file with some 30,000 lines, but I want to know how many lines
> are
> in the file before I do anything to it - is this possible. I couldn't see how
> just looking at the syntax for files.
>
>
> 2) Given that I could figure out how
On Mon, 02 Feb 2009 21:40:49 +1100
richard terry wrote:
> 1) I have a file with some 30,000 lines, but I want to know how many lines
> are
> in the file before I do anything to it - is this possible. I couldn't see how
> just looking at the syntax for files.
If your line lengths are random, th
1) I have a file with some 30,000 lines, but I want to know how many lines are
in the file before I do anything to it - is this possible. I couldn't see how
just looking at the syntax for files.
2) Given that I could figure out how many lines, I wondered if someone could
give me some tips on h
10 matches
Mail list logo