Re: finding repeated data sequences in a column

2009-05-21 Thread Rhodri James
On Thu, 21 May 2009 08:55:45 +0100, yadin wrote: this is the program...I wrote but is not working I have a list of valves, and another of pressures; If I am ask to find out which ones are the valves that are using all this set of pressures, wanted best pressures this is the program i wrote but

Re: finding repeated data sequences in a column

2009-05-21 Thread norseman
yadin wrote: On May 20, 6:53 pm, norseman wrote: bearophileh...@lycos.com wrote: yadin: How can I build up a program that tells me that this sequence 128706 128707 128708 is repeated somewhere in the column, and how can i know where? Can such patterns nest? That is, can you have

Re: finding repeated data sequences in a column

2009-05-21 Thread Peter Otten
yadin wrote: > On May 20, 6:53 pm, norseman wrote: >> bearophileh...@lycos.com wrote: >> > yadin: >> >> How can I build up a program that tells me that this sequence >> >> 128706 >> >> 128707 >> >> 128708 >> >> is repeated somewhere in the column, and how can i know where? >> >> > Can

Re: finding repeated data sequences in a column

2009-05-21 Thread yadin
On May 20, 6:53 pm, norseman wrote: > bearophileh...@lycos.com wrote: > > yadin: > >> How can I build up a program that tells me that this sequence > >> 128706 > >> 128707 > >> 128708 > >> is repeated somewhere in the column, and how can i know where? > > > Can such patterns nest? That

Re: finding repeated data sequences in a column

2009-05-20 Thread norseman
bearophileh...@lycos.com wrote: yadin: How can I build up a program that tells me that this sequence 128706 128707 128708 is repeated somewhere in the column, and how can i know where? Can such patterns nest? That is, can you have a repeated pattern made of an already seen pattern

Re: finding repeated data sequences in a column

2009-05-20 Thread bearophileHUGS
yadin: > How can I build up a program that tells me that this sequence > 128706 > 128707 > 128708 > is repeated somewhere in the column, and how can i know where? Can such patterns nest? That is, can you have a repeated pattern made of an already seen pattern plus something else? If yo

Re: finding repeated data sequences in a column

2009-05-20 Thread Tim Chase
lets say you have this column of numbers 128706 128707 128708 100 12 128706 128707 128708 128709 128706 128707 128708 100 12 6 How can I build up a program that tells me that this sequence 128706 128707 128708 is repeated somewhere in the colum

Re: finding repeated data sequences in a column

2009-05-20 Thread yadin
On May 20, 11:16 am, bearophileh...@lycos.com wrote: > yadin, understanding what you want is probably 10 times harder than > writing down the code :-) > > > I have a a table, from where I can extract a column. > > You can extract it? Or do you want to extract it? Or do you want to > process it? Etc

finding repeated data sequences in a column

2009-05-20 Thread yadin
Good day everyone! I have a a table, from where I can extract a column. I wanna go down trough that column made of numbers examine undetermined chunks of data and see or detect if that sequence of chunk of data has been repeated before and if it has been repeated detect it by giving it a name in an

Re: finding repeated data sequences in a column

2009-05-20 Thread bearophileHUGS
yadin, understanding what you want is probably 10 times harder than writing down the code :-) > I have a a table, from where I can extract a column. You can extract it? Or do you want to extract it? Or do you want to process it? Etc. > I wanna go down trough that column made of numbers > examin