Decrement operators

Boudewijn Rempt boud at valdyas.org
Thu Apr 21 20:46:30 CEST 2005


On Thursday 21 April 2005 20:27, Casper Boemann wrote:
> On Thursday 21 April 2005 19:34, Boudewijn Rempt wrote:
> > How do the decrement operators for iterators work? Should I create the
> > iterator with x > width, or as normal?
>
> create as normal then first +=width
>
> and then walk backwards

Ah, okay -- that should fix the walking into infinity problem I was having. 
Thanks!

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20050421/004ddd75/attachment.pgp


More information about the kimageshop mailing list