Difference between revisions of "Start"

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