Difference between revisions of "QAS save"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
(Tag: visualeditor)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Questionnaire_Functions]]

+
{{HelpFiles}}
  
 
====QAS_save====
 
====QAS_save====
Line 12: Line 12:
 
'''Argument'''
 
'''Argument'''
  
qasObject: is an array. It is the quesitonnaire answer sheet object, which has the same format as what generated by QAS_new
+
qasObject: is an array. It is the quesitonnaire answer sheet object, which has the same format as what generated by [[QAS_new]]
 +
 
 +
qasObject can be a [[QAS_class]]
  
 
'''Return value'''
 
'''Return value'''
Line 20: Line 22:
 
'''Example'''
 
'''Example'''
  
 +
<source lang="csharp">
 
array qas1 = QAS_new(33702597);
 
array qas1 = QAS_new(33702597);
 
 
qas1[QAS_TEST]=true;
 
qas1[QAS_TEST]=true;
 
 
QAS_save(qas1);
 
QAS_save(qas1);
 
+
</source>
 
'''Availability'''
 
'''Availability'''
  
 
Version 5.6
 
Version 5.6
 +
 
__NOTOC__
 
__NOTOC__
 
<!-- imported from file: 8061.htm-->
 
<!-- imported from file: 8061.htm-->

Latest revision as of 09:43, 7 August 2019



QAS_save

Save a questionnaire answer sheet object to the database

Syntax

QAS_save(qasObject)

Argument

qasObject: is an array. It is the quesitonnaire answer sheet object, which has the same format as what generated by QAS_new

qasObject can be a QAS_class

Return value

empty

Example

array qas1 = QAS_new(33702597);
qas1[QAS_TEST]=true;
QAS_save(qas1);

Availability

Version 5.6