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.

QAS getQASById: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Questionnaire_Functions]]
[[Category:Questionnaire_Functions]]

{{HelpFiles}}


====QAS_getQASById====
====QAS_getQASById====
Line 16: Line 16:
'''Return value'''
'''Return value'''


An array, it is the answer sheet object, which has the same format as what created by ''QAS_new ''function
An array, it is the answer sheet object, which has the same format as what created by ''[[QAS_new]] ''function
 
In later version, return value is [[QAS_class]]


'''Example'''
'''Example'''
 
<source lang="csharp">
''array qas = QAS_getQASById(123456);''
array qas = QAS_getQASById(123456);
 
print(qas);
//old return:{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}
//new return: QAS
</source>
'''Availability'''
'''Availability'''


Version 5.6
Version 5.6
__NOTOC__
__NOTOC__
<!-- imported from file: 6267.htm-->
<!-- imported from file: 6267.htm-->

Latest revision as of 08:58, 7 August 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

In later version, return value is QAS_class

Example

array qas = QAS_getQASById(123456);
print(qas);
//old return:{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}
//new return: QAS

Availability

Version 5.6