Difference between revisions of "Start"
From WikiManual
(→Flow Commands) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
Start marks the action step of a gene. This is where logical operators, [[store]] and [[inc/dec]] can be used. It will only execute if the boolean value from conditions stack is true. | Start marks the action step of a gene. This is where logical operators, [[store]] and [[inc/dec]] can be used. It will only execute if the boolean value from conditions stack is true. | ||
− | + | example: | |
− | + | ||
− | * | + | '''cond''' |
− | + | *.eye5 50 > | |
− | + | '''start''' | |
− | + | -1 .shoot store | |
+ | '''stop''' | ||
+ | '''end''' | ||
+ | |||
+ | {{Flow Commands}} |
Latest revision as of 09:15, 1 July 2014
Start Flow Operator
Start marks the action step of a gene. This is where logical operators, store and inc/dec can be used. It will only execute if the boolean value from conditions stack is true.
example:
cond *.eye5 50 > start -1 .shoot store stop end
Flow Commands: |