SampleRule getByGroupResourceId

From Catglobe Wiki
Revision as of 11:26, 2 April 2018 by Nguyenduyan (talk | contribs) (Created page with "Category:Questionnaire_Functions = SampleRule_getByGroupResourceId = Get all sample rule of a group == Syntax == SampleRule_getByGroupResourceId(number groupRId); == A...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 ); 
	
}