Error Messages/40866
Error Message Examples
The «step» size in Function Sequence must be positive (even for a decreasing sequence). Alternatively, you can add the optional parameter, strict:True, to Sequence to allow a negative step size and honor its sign
Cause
You have passed a negative value as the step parameter to the Sequence function without specifying the strict parameter to be true. You need to specify the strict parameter to be true to pass a negative value as the step parameter. Passing a positive number will still work for a decreasing sequence.
Both of the following call to Sequence will produce a decreasing sequence from 99 to 1.
Sequence( 99, 1, 1);
Sequence(99, 1, -1, strict: true);
Remedies
Either specify the strict parameter to be true or pass a positive value to the step parameter.
Comments
<comments />
Enable comment auto-refresher