RangeEx Parameters

Top  Previous  Next

We have often found that we wanted to include negative numbers in ranges but we do NOT want 0 (or sometimes -1 and 1). The RangeEx parameter type is designed for those situations (often algebra questions).

 

$p=rangeex(low,high,increment (optional), excludemultiplesof (optional))

 

$p=rangeex(2,5)                $p can take any of the integers {-5, -4, -3, -2, 2, 3, 4, 5}.