GetAnswerOptionText

From Catglobe Wiki
Revision as of 09:51, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



getAnswerOptionText

Returns the text of an answer option with value in the question named label in the current questionnaire

Syntax

getAnswerOptionText(questionLabel, answerOptionValue)

Arguments

questionLabel: a string expression. It is the label of a question

answerOptionValue: a numeric expression. It is the value of the answer option

Return type

string

Example

string text = getAnswerOptionText("Q1", 1);

print(text);

Availability

Version 5.2