I assume the code does what you need, but there are a few caveats that should be mentioned. This code will change the order of the values, and it will eliminate any duplicates. This may or may not be a problem, depending on what it's being used for.
Update: these caveats were noted, in Zaxo's original node, I just failed to notice. My apologies.
In reply to Re^3: Need to Create an Array of Differences
by revdiablo
in thread Need to Create an Array of Differences
by scottj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |