On Sun, 3 Sep 2006 at 12:53pm, Bram Moolenaar wrote: > > Can't you use something like: > > for loop_index in range(1, 10) > <body> > endfor
As I said in my reply to Tony, this is inefficient when the range is big, and to avoid this problem Python has irange() which is an enumeration. Now adding enumerations to Vim will be a non-trivial change (and unnecessary complication, as we are not trying to achieve a full fledged scripting language), but adding a for loop variant should be much simpler. -- Thanks, Hari __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com