03-28-2006, 07:02 PM
Quote:Ralph Wrote:In the spirit of the originally stated "to turn a switch on and off", would the very often used following line qualify?Yeah, that works Ralph, but we have been considering as algorithms that code which does not have any IF's. That is, strictly computational, either arithmetic or logical.
Code:IF A = 1 THEN A = 0 ELSE A = 1
*****
Code:
A = 1 - A
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