Difference between revisions of "SampleRule getByGroupResourceId"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "Category:Questionnaire_Functions = SampleRule_getByGroupResourceId = Get all sample rule of a group == Syntax == SampleRule_getByGroupResourceId(number groupRId); == A...")
 
(Return type)
(Tag: visualeditor)
 
Line 13: Line 13:
  
 
== Return type ==
 
== Return type ==
Array of SampleRule object
+
Array of [[SampleRule class|SampleRule]] object
  
 
== Example ==
 
== Example ==

Latest revision as of 10:16, 5 April 2018

SampleRule_getByGroupResourceId

Get all sample rule of a group

Syntax

SampleRule_getByGroupResourceId(number groupRId);

Arguments

number groupRId

Return type

Array of SampleRule object

Example

array a = SampleRule_getByGroupResourceId(15599876);//{SampleRule,SampleRule}
for(number i=0; i<a.Count;i++)
{
	SampleRule sr = a[i];
	print(sr.SizeWithData ); 
	
}