Difference between revisions of "Start"

From WikiManual
Jump to: navigation, search
 
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
Start Flow Operator
 
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 in 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 10: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:

cond
start else
stop
end