Difference between revisions of "QAS reset"

From Catglobe Wiki
Jump to: navigation, search
(QAS_reset)
(QAS_reset)
Line 16: Line 16:
 
array of answer sheet ids where the function could not reset  
 
array of answer sheet ids where the function could not reset  
  
'''Examples'''
+
'''Examples 1'''
  
 
array answerSheetIds={28415738,28415739,28415740};
 
array answerSheetIds={28415738,28415739,28415740};
  
 
QAS_reset(answerSheetIds); //returned: result {}
 
QAS_reset(answerSheetIds); //returned: result {}
 +
 +
'''Examples 2'''
 +
 +
array answerSheetIds={28415738,28415739,28415740};// 28415740 is an invalid answer sheet id
 +
 +
QAS_reset(answerSheetIds); //returned: result {28415740}
  
 
'''Availability'''
 
'''Availability'''

Revision as of 03:53, 28 March 2012



QAS_reset

This function is to reset a list of Questionnaire Answer Sheets

Syntax

QAS_reset(array answerSheetIds)

Arguments answerSheetIds is an array expression. It is the Questionnaire Answer Sheet IDs of current Questionnaire.

Return type

array of answer sheet ids where the function could not reset

Examples 1

array answerSheetIds={28415738,28415739,28415740};

QAS_reset(answerSheetIds); //returned: result {}

Examples 2

array answerSheetIds={28415738,28415739,28415740};// 28415740 is an invalid answer sheet id

QAS_reset(answerSheetIds); //returned: result {28415740}

Availability

Version 5.9.5