analyzing a list for change …

Feb 12, 2011 at 9:45pm

analyzing a list for change …

Hi, I have a big question:

How do I look through the above list and get a list of the positions where the value changes and also what the new value is?

A beginning attempt is made below, but then I ran dry for intelligent list objects that can do the job for me.
- anyone who have any clue what I can do?

– Pasted Max Patch, click to expand. –

Thanks a lot for your help!

ana

#54927
Feb 13, 2011 at 1:21am

i think this works : /

– Pasted Max Patch, click to expand. –
#197790
Feb 13, 2011 at 6:58pm

Thanks a lot! It works perfectly, and now i undertand better how to use the trigger object:-)

ana

#197791
Feb 13, 2011 at 8:18pm

I did an abstraction a little while back that analyses the make-up of a list and gives you some information about it.
It will give you sublists of the same elements, starting position, length and what the element is. It’s a bit more than what you are asking for but it might come in handy.

Attachments:
  1. MRlistIt.zip
#197792

You must be logged in to reply to this topic.