Difference between revisions of "Start"

From WikiManual
Jump to: navigation, search
(Flow Commands)
 
Line 2: Line 2:
  
 
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}}
 
{{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