in reply to Re: Ignore a range of numbers ina List
in thread Ignore a range of numbers ina List
All my tests have returned the right results with Marshall's code .
$./ignore_6_to_7.pl Original Array : 1 6 2 2 7 1 6 99 99 7 Result: 1 1 ********** Original Array : 1 2 2 Result: 1 2 2 ********** Original Array : 1 1 6 7 2 Result: 1 1 2 ********** Original Array : 1 6 2 2 7 1 6 99 99 7 Result: 1 1 ********** Original Array : 2 7 6 2 6 7 2 7 Result: 2 7 2 7 ********** Original Array : 1 6 7 7 Result: 1 7 ********** Original Array : 2 7 6 2 6 2 7 Result: 2 7 ********** Original Array : 6 7 1 6 7 7 Result: 1 7 ********** Original Array : 6 8 1 6 7 Result: **********
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Ignore a range of numbers ina List
by Marshall (Canon) on Jun 25, 2017 at 18:57 UTC | |
by Laurent_R (Canon) on Jun 25, 2017 at 22:52 UTC | |
by choroba (Cardinal) on Jun 25, 2017 at 23:05 UTC | |
by Laurent_R (Canon) on Jun 26, 2017 at 06:11 UTC | |
by AnomalousMonk (Archbishop) on Jun 26, 2017 at 13:17 UTC | |
| |
by shmem (Chancellor) on Jun 25, 2017 at 19:28 UTC | |
Re^3: Ignore a range of numbers ina List
by Anonymous Monk on Jun 25, 2017 at 19:53 UTC | |
by shmem (Chancellor) on Jun 25, 2017 at 20:28 UTC |