It makes that when you are on tag 9 and you go to the right, you will find yourself on tag 1 again.

cycle(9, 7) = 7
cycle(9, 10) = 1
cycle(9, 15) = 6
... etc.

I think it also works for negative numbers.

Cheers,
another Sascha ;)


On 29.01.2010 15:39, The Sighter wrote:
Hello,

I was messing around with shifty and then i see this function.

Can anyone explain what it exactly does?

thx&  greetz
Sascha


http://awesome.naquadah.org/doc/api/modules/awful.util.html#cycle



--
To unsubscribe, send mail to [email protected].

Reply via email to