Skip navigation
theideafarmer
Currently Being Moderated

Remove nonsequential outliers

Apr 30, 2012 12:43 PM

Hello,

 

I'm working on a script that looks at two array numbers and if they are nonsequential, I want to pop that value out of the array. I'm having trouble with this, because if the initial entry is the one that is out of sequence, then all subsequent values would be pop'd. Anyone have a quick function that might do the trick?

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points