Perfect, thanks! On April 29, 2015 at 10:27:04 AM, René Donner (li...@donner.at) wrote:
I believe range(i,num) is what you are looking for. Am 29.04.2015 um 16:22 schrieb Sebastian Good <sebast...@palladiumconsulting.com>: > I find myself creating ranges of the form i:i+num-1. That is, the ith thing, > and num more. Whenever I see a +1 or -1 I worry about careless off by one > errors, so I wonder if there is a function or operator to capture this idiom, > or open and closed ranges in general?