Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.2K edits
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

QAS getByGuid: Difference between revisions

From Catglobe Wiki
Tungocman (talk | contribs)
No edit summary
Tungocman (talk | contribs)
No edit summary
Line 20: Line 20:
'''Example'''
'''Example'''


''array qas = QAS_getByGuid(123456);''
''array qas = QAS_getByGuid("781fc858-3007-42bf-b801-540de8df228c");''


''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}

Revision as of 07:49, 11 May 2015



QAS_getByGuid

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

Syntax

QAS_getByGuid(qasGuid)

Arguments

  • qasGuid: is a string expression. It is the questionnaire answer sheet's GUID

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_getByGuid("781fc858-3007-42bf-b801-540de8df228c");

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}