I know that in ruby I can do this..

for i in 0..5
    print i
end

but what I want to do is something like this ( sorry, in python semantics,
functions, ;-)

for i in range(0,100,5):
    print i

of course I can do it like this
for i in 0..19
    print i*5
end

but I want to know exactly same way as to range(beg,end,step)

p.s) How can I find such things?.. I've tried language/library reference,
but in vain.