ChangeSampleRuleId

From Catglobe Wiki
Revision as of 07:33, 28 December 2011 by Cg huyphong (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



changeSampleRuleId

Change the current questionnaire answer sheet’s sample to the specific sample of the same PQ. Return true if changing succeeds or the questionnaire answer sheet already exists in that sample, otherwise return false.

Syntax

changeSampleRuleId(sampleId)

Arguments

sampleId: Is a number expression which is the id of the sample.

Return type

bool

Example

bool b = changeSampleRuleId(2);

print(b);

Availability

Version 4.9