Darwinbots Forum

Code center => Bugs and fixes => Topic started by: Gobo on November 28, 2007, 07:03:51 PM

Title: Is it an intra-DNA conditions bug RESOLVED (BY DESIGN)
Post by: Gobo on November 28, 2007, 07:03:51 PM
Here is a severely mutilated Animal Minimalis:
Code: [Select]
cond
start
*.eye5 0 == *.refeye *.myeye == or 314 rnd .aimdx store
stop
I think I didn't do any mistakes. But this doesn't work as expected. If you placed this cripple near Alga Minimalis, for instance, it should stop rotating, in theory. But it doesn't, as for 2.43t. Is it a bug in DB or in my head?
Title: Is it an intra-DNA conditions bug RESOLVED (BY DESIGN)
Post by: EricL on November 28, 2007, 07:19:41 PM
There is no == operator.  So, no boolean operations are performed.  The or is true.  The bot always spins.
Title: Is it an intra-DNA conditions bug RESOLVED (BY DESIGN)
Post by: Gobo on November 28, 2007, 07:24:06 PM
Oops, sorry