ChangeSampleRuleId

From Catglobe Wiki
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