Array::ZeroStep(3) The step in a range may not be zero


Array::ZeroStep( )


If the step in a range is zero, as in the following examples, the range would have infinite size, and so this Exception is thrown.

 r = range(1,5,0);
 r = [1,1..5];


Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see


The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.