SANDRADEPAR:
+ We understand your question.
+ What we are waiting for is for you to tell us what it is that you are after. One time it's one thing, the next it appears you want something else.
+ Using the pseudo-code I gave you in post#14, it took me all of 20 minutes, and most of that was hand-checking against your dataset in the original post, to write the script for comparing the adjacent pairs - something you already have. If this isn't what you're after then you need to tell us what you've tried to do to fix the script
					+ We understand your question.
+ What we are waiting for is for you to tell us what it is that you are after. One time it's one thing, the next it appears you want something else.
+ Using the pseudo-code I gave you in post#14, it took me all of 20 minutes, and most of that was hand-checking against your dataset in the original post, to write the script for comparing the adjacent pairs - something you already have. If this isn't what you're after then you need to tell us what you've tried to do to fix the script
 
	
Comment