From wiki.ginstr.com
Jump to: navigation, search
(Example)
Line 32: Line 32:
  
 
====Example====
 
====Example====
<code>@variable/meters</code> - [[Datatypes#rows|rows]]<br>
+
<code>@variable/meters</code> - list<br>
 
<code>@variable/meterIndex</code> - row index<br><br>
 
<code>@variable/meterIndex</code> - row index<br><br>
 
<code>[gn:act_isMiddleRow]|[@variable/meters,@variable/meterIndex]</code>
 
<code>[gn:act_isMiddleRow]|[@variable/meters,@variable/meterIndex]</code>
 
<hr>
 
<hr>

Revision as of 11:56, 15 March 2017

gn:act_isMiddleRow

Description
Action used to check if specific row is not the first or the last row in the list
Action returns
boolean

Action signatures

Check is the middle row

[gn:act_isMiddleRow]|[target,index]
Parameter Description
target target where the list is stored
index source from where the row index value is used

Example

@variable/meters - list
@variable/meterIndex - row index

[gn:act_isMiddleRow]|[@variable/meters,@variable/meterIndex]