DarwinBotsManual
Open the app EspañolES

false

Pushes a false onto the boolean stack. In a gene's condition it turns it off; in the body it blocks the stores that follow.

Facts

Word
false
Family
Logic
Boolean stack
pops 0, pushes 1
What it does
Pushes a false onto the boolean stack.
Cost
Logic
Runs
inside a gene: in the condition (cond) and in the body (start or else)

false pushes a false onto the boolean stack, without looking at anything.

It has a very handy practical use: turning a gene off without deleting it. Since start does the and of all the conditions, a false between cond and start makes the body never run, whatever the others are:

' gene turned off while you test something else
cond
  false
  *.nrg 1000 >
start
  10 .up store
stop

cond
start
  50 inc
stop

The first gene does nothing; the second runs anyway, because its cond starts with a clean boolean stack. To turn it back on, delete the false.

Inside the body, a false blocks all the stores that come after it, until something pops it or covers it (dropbool, clearbool, true or another condition).

Its opposite is true.