06-24-2003, 07:17 AM
The cycling counter:
If max% is a power of two it is better to do...
Does this one count?
Code:
counter% = (counter% + 1) MOD max%
If max% is a power of two it is better to do...
Code:
counter% = (counter% + 1) AND (max% - 1)
Does this one count?
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i