Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ChangeSampleRuleId: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Questionnaire_Functions]]
[[Category:Questionnaire_Functions]]

{{HelpFiles}}


====changeSampleRuleId====
====changeSampleRuleId====


Change the current questionnaire answer sheet’s sample to a specific sample. Return true if changing succeeds or the questionnaire answer sheet already exists in that sample, otherwise return false.'''Syntax'''
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'')
changeSampleRuleId(''sampleId'')
Line 10: Line 12:
'''Arguments'''
'''Arguments'''


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


bool
bool

Latest revision as of 05:33, 28 December 2011



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