If this example is compiled it does not work on the AVR mega 2560 (as used on Arduino)
Would it be possible to fix this bug?
IF (sensor=1) AND (light=0) then buzzer = 1
However, this code does provide a workaround:
IF sensor = 1 then
IF light = 0 set buzzer = 1