Not included in the sample data, but in the description:
if ($previous_num + 1 == $num || $previous_num - 1 == $num) {
In reply to Re^2: Adjacent numbers
by GotToBTru
in thread Adjacent numbers
by melissa_randel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |