From wiki.ginstr.com
Jump to: navigation, search
(Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> <span STYLE="font-size: xx-large"><code>gn:act_isLastRow</code></span> Category:Action_Library ;Des...")
 
(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_isLastRow]|[@variable/meters,@variable/meterIndex]</code>
 
<code>[gn:act_isLastRow]|[@variable/meters,@variable/meterIndex]</code>
 
<hr>
 
<hr>

Revision as of 11:56, 15 March 2017

gn:act_isLastRow

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

Action signatures

Check is the last row

[gn:act_isLastRow]|[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_isLastRow]|[@variable/meters,@variable/meterIndex]