Precedence….. if this precedes this then…

Jan 30, 2014 at 2:45pm

Precedence….. if this precedes this then…

I really don’t have an idea where to start, i’m guessing coll is gonna be my friend somewhere in there

I need to store the lists that are coming in and have some pre-determined sequences, that if they occur then….. bang for instance…

<code>

– Pasted Max Patch, click to expand. –

</code>

#279612
Jan 30, 2014 at 3:18pm

[zl compare] ?

#279614
Jan 30, 2014 at 3:27pm

I don’t think that’ll help….. If i populate this coll for instance, i would like it to flag if a certain sequence of numbers where to be therin

<code>

– Pasted Max Patch, click to expand. –

</code>

#279615
Jan 30, 2014 at 3:29pm

I know with numbers i could use sel…. i could lose the spaces in a list with sprintf %LD%LD%LD and then use sel, but i don’t know how to recognise the occurrence of a certain sequence of lists or numbers

#279616
Jan 30, 2014 at 3:42pm

perhaps i’m not too far away now

<code>

– Pasted Max Patch, click to expand. –

</code>

#279617
Jan 31, 2014 at 5:50am

anyone know how to detect a certain sequence of numbers within a stream of data?

#279669
Jan 31, 2014 at 6:10am

Here’s one way.

<code>

– Pasted Max Patch, click to expand. –

</code>

#279670
Jan 31, 2014 at 6:12am

VICHUG, you may have been right :)

perhaps zl compare is the way

<code>

– Pasted Max Patch, click to expand. –

</code>

#279671
Jan 31, 2014 at 6:19am

Thanks rick, i’ll give it a whirl

#279672
Feb 1, 2014 at 1:20pm
– Pasted Max Patch, click to expand. –
#279815
Feb 1, 2014 at 2:35pm

cheers Metamax :) I looked at match briefly aswel ….. oops

I’ve got three ways that ultimately servre the same purpose now :) it’ll be interesting to see which is the least expensive

#279817

You must be logged in to reply to this topic.