Difference between revisions of "QAS getCallStack"
Nguyenduyan (talk | contribs) (→QAS_getCallStack) |
Nguyenduyan (talk | contribs) (→QAS_getCallStack) |
||
Line 20: | Line 20: | ||
'''Index''' | '''Index''' | ||
− | | bgcolor="#C0C0C0" width=" | + | | bgcolor="#C0C0C0" width="450" style="border:1px solid #010101;" | |
'''Property name''' | '''Property name''' | ||
Line 26: | Line 26: | ||
'''Data type''' | '''Data type''' | ||
− | | bgcolor="#C0C0C0" width=" | + | | bgcolor="#C0C0C0" width="1000" style="border:1px solid #010101;" | |
'''Description''' | '''Description''' | ||
Line 33: | Line 33: | ||
<span class="normalise">0</span> | <span class="normalise">0</span> | ||
− | | width=" | + | | width="450" style="border:1px solid #010101;" | |
<span class="normalise">QAS_CALL_STACK_ANSWER_SHEET_CONTEXT_ID</span> | <span class="normalise">QAS_CALL_STACK_ANSWER_SHEET_CONTEXT_ID</span> | ||
Line 39: | Line 39: | ||
<span class="normalise">number</span> | <span class="normalise">number</span> | ||
− | | width=" | + | | width="1000" style="border:1px solid #010101;" | |
<span class="normalise">The answer sheet id for the initial answer sheet, this id is also known as the answer sheet context id.</span> | <span class="normalise">The answer sheet id for the initial answer sheet, this id is also known as the answer sheet context id.</span> | ||
Revision as of 05:51, 11 April 2012
QAS_getCallStack
This function makes it possible for the script writer to peek into the current answer sheet call stack. The function requires an answer sheet context to be present which only exists for CG Scripts executed in dummy questions.
Syntax
QAS_getCallStack()
Arguments
No
Return type
array
Index |
Property name |
Data type |
Description |
0 |
QAS_CALL_STACK_ANSWER_SHEET_CONTEXT_ID |
number |
The answer sheet id for the initial answer sheet, this id is also known as the answer sheet context id. |
Example
QAS_getCallStack();
Availability
Version 5.9.5