hint needed

xbury.cs at clearstream.com xbury.cs at clearstream.com
Mon May 16 07:09:02 EDT 2005


Hi Klaus,

Hope i got this correctly...

Search for a matrix using the filter command

1&tab&*

Append a line number after each line eventually if you need to know which 
line if was.

>From then it's just a little loop to see which lines really match...

IOW,

do a regex (or filter) on the largest defined
string, then reduce the occurences with real matching.... 

removing the tabs may help also make the search simpler and or faster...

Im just reading up on pattern recognition ;)

did I get that correctly?

hope that helps
Xavier

On 16.05.2005 12:50:47 use-revolution-bounces wrote:
>Hi frien
>ds,
>
>i have a little problem and might need some help/hints...
>
>I have a TAB delimited list (200 lines) of values like:
>1 TAB 0 TAB 1 TAB 1 TAB 0... (174 values each line)
>
>And have the same amount of checkboxes and want to get all the lines
>that have the same matrix as the currently "checked" boxes...
>
>Know what i mean?
>
>I can get a list of the checkboxes and their states and want to have
>all the lines that
>match the "checkbox matrix"...
>
>But since i will only query the "true" state i have no idea so far...
>
>My "checkbox list" will look like:
>1 TAB * TAB * TAB * TAB 1 TAB...
>
>where * means false/empty and does NOT matter...
>
>
>What might be the most effective/fastest way to do so?
>
>Any hints are welcome :-)
>
>BTW, on OS X it will slow down performance heavily when i have a
>visible field with these
>200 lines a 175 values in it on my card...
>
>Activating other objects results in a delay of at least 1 second
>before any reaction.
>
>
>Anyway, thanks in advance.
>
>
>Regards
>
>Klaus Major
>klaus at major-k.de
>http://www.major-k.de
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution


-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE    Internet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.    The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.    END OF DISCLAIMER


More information about the use-livecode mailing list