Difference between revisions of "QAS getQASById"

From Catglobe Wiki
Jump to: navigation, search
Line 19: Line 19:
  
 
'''Example'''
 
'''Example'''
 
+
<source lang="csharp">
''array qas = QAS_getQASById(123456);''
+
array qas = QAS_getQASById(123456);
 
+
print(qas);
''print(qas);''
 
 
 
 
//{15,82115249,36314707,36285016,False,1,False,{1,1,1,1,0,0,0,1,40},{1,1,1,1,0,0,0,1,40},781fc858-3007-42bf-b801-540de8df228c,{1,1,1,0,0,0,0,1,40},5,0,23343}
 
//{15,82115249,36314707,36285016,False,1,False,{1,1,1,1,0,0,0,1,40},{1,1,1,1,0,0,0,1,40},781fc858-3007-42bf-b801-540de8df228c,{1,1,1,0,0,0,0,1,40},5,0,23343}
 
+
</source>
 
'''Availability'''
 
'''Availability'''
  

Revision as of 09:13, 3 January 2019



QAS_getQASById

Get a questionnaire answer sheet by its id. If no answer sheet is found with that id, empty will be returned.

Syntax

QAS_getQASById(qasId)

Arguments

  • qasId: is a number expression. It is the questionnaire answer sheet's id

Return value

An array, it is the answer sheet object, which has the same format as what created by QAS_new function

Example

array qas = QAS_getQASById(123456);
print(qas);
//{15,82115249,36314707,36285016,False,1,False,{1,1,1,1,0,0,0,1,40},{1,1,1,1,0,0,0,1,40},781fc858-3007-42bf-b801-540de8df228c,{1,1,1,0,0,0,0,1,40},5,0,23343}

Availability

Version 5.6