GetSubQuestionText

From Catglobe Wiki
Revision as of 09:52, 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



getSubQuestionText

Gets the text of a specific subquestion belonging to a question in user’s language or default language.

Syntax

getSubQuestionText(question, subq_id)

Arguments

question: Is an question object.

subq_id: Is a numeric expression representing the subquestion.

subq_id must not be a decimal expression.

Return type

string

Example

question MultiGrid_Question = getQuestion("MultiGrid_Question");

string text = getSubQuestionText(MultiGrid_Question, 1);

print(text);

Availability

Version 4.8