Changes

Jump to navigation Jump to search
no edit summary
Line 6: Line 6:     
BrainStream handles tables from top to bottom and row by row. For example, according to the following table, first function fnc1, then fnc2, then fnc3 is executed.
 
BrainStream handles tables from top to bottom and row by row. For example, according to the following table, first function fnc1, then fnc2, then fnc3 is executed.
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| '''<strong>marker <br /></strong>''' || '''<strong>time <br /></strong>''' || '''<strong>function <br /></strong>'''  
 
| '''<strong>marker <br /></strong>''' || '''<strong>time <br /></strong>''' || '''<strong>function <br /></strong>'''  
Line 19: Line 19:     
If more than one action '''of the same type''' is specified within a row, the actions are executed in the order in which they appear within the row (i.e. from left to right). Another example table is shown below.
 
If more than one action '''of the same type''' is specified within a row, the actions are executed in the order in which they appear within the row (i.e. from left to right). Another example table is shown below.
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| '''<strong>marker <br /></strong>''' || '''<strong>time <br /></strong>''' || '''<strong>function <br /></strong>'''  
 
| '''<strong>marker <br /></strong>''' || '''<strong>time <br /></strong>''' || '''<strong>function <br /></strong>'''  
Line 66: Line 66:  
The 'put' statement updates the modified content of user defined variables to the global variables, whereas the 'save' statement saves the content to disk. These actions are always the last ones to be executed during an event. This means that if subsequent rows of the table define actions for the same marker, the put action will be performed after these actions have been completed (see example below). For more information about the 'put' and 'save' statements, click [[BrainStreamImportantConcepts#GetPut|here]].
 
The 'put' statement updates the modified content of user defined variables to the global variables, whereas the 'save' statement saves the content to disk. These actions are always the last ones to be executed during an event. This means that if subsequent rows of the table define actions for the same marker, the put action will be performed after these actions have been completed (see example below). For more information about the 'put' and 'save' statements, click [[BrainStreamImportantConcepts#GetPut|here]].
 
== Example ==
 
== Example ==
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| '''*''' || '''<strong>marker <br /></strong>''' || '''<strong>time <br /></strong>''' || '''<strong>function <br /></strong>''' || '''<strong>feval <br /></strong>''' || '''<strong>Var1 <br /></strong>''' || '''<strong>Var2 <br /></strong>'''  
 
| '''*''' || '''<strong>marker <br /></strong>''' || '''<strong>time <br /></strong>''' || '''<strong>function <br /></strong>''' || '''<strong>feval <br /></strong>''' || '''<strong>Var1 <br /></strong>''' || '''<strong>Var2 <br /></strong>'''  

Navigation menu