Difference between revisions of "Start"

From WikiManual
Jump to: navigation, search
 
(4 intermediate revisions by 4 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.
  
=== Flow Commands===
+
example:
* [[cond]]
+
 
* [[start]]
+
'''cond'''
* [[stop]]
+
*.eye5 50 >
* [[end]]
+
'''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:

cond
start else
stop
end