SetAnswerText

void SetAnswerText (Int32 inQuesIdx, Int32 inAnswerIdx, string inText)

Description

Relevant for multi\single mention question types. Will change the header text of an answer

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inQuesIdx Int32 Question Index
inAnswerIdx Int32 The Answer Index to set
inText string The string to write to the answer

 

Return Type

void

Examples

If we have a question indexed 4, and we would like to set the text in answer 8, we can use this function as follows: SetAnswerText(QRef(4),8,"Whats up Doc?"); it will change the text of answer 8 to "Whats up Doc?"

 

Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.