Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GetSubQuestionText(question, subq id): Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
Created page with "getSubQuestionText Gets the text of a specific subquestion belonging to a question in user’s language or default language. Syntax Category:Questionnaire_Functions ===get..."
Β 
Cg_pham (talk | contribs)
No edit summary
Β 
Line 1: Line 1:
getSubQuestionText
=== getSubQuestionText ===


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


Syntax
'''Syntax'''


[[Category:Questionnaire_Functions]]
getSubQuestionText(question, subq_id)
===getSubQuestionText(question, subq_id)===
Β 
'''Arguments'''


Arguments
question: Is an question object.


question: Is an question object.
subq_id: Is a numeric expression representing the subquestion. Β 


subq_id: Is a numeric expression representing the subquestion.
subq_id must not be a decimal expression. Β 


subq_id must not be a decimal expression.
'''Return type'''


Return type
string


string
'''Example'''


Example
question MultiGrid_Question = getQuestion("MultiGrid_Question");


question MultiGrid_Question = getQuestion("MultiGrid_Question");
string text = getSubQuestionText(MultiGrid_Question, 1); Β 


string text = getSubQuestionText(MultiGrid_Question, 1);
print(text); Β 


print(text);
'''Availability'''


Availability
Version 4.8


Version 4.8
[[Category:Questionnaire_Functions]]

Latest revision as of 07:49, 2 February 2012

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