Difference between revisions of "GotoQuestion"

From Catglobe Wiki
Jump to: navigation, search
(gotoQuestion)
Line 4: Line 4:
 
====gotoQuestion====
 
====gotoQuestion====
  
Go to to the question specified as a string, can be in another questionnaire.
+
Go to to the question specified as a string (go to the newest uncompleted QAS of QAS's user), can be in another questionnaire.
  
 
'''Syntax'''
 
'''Syntax'''

Revision as of 04:47, 29 July 2011



gotoQuestion

Go to to the question specified as a string (go to the newest uncompleted QAS of QAS's user), can be in another questionnaire.

Syntax

gotoQuestion(question_spec)

Arguments

question_spec: Is a string expression. It must be a qualified name.

Return type

empty

Examples

//goto to a question belonging to the current //questionnaire

gotoQuestion("DomesticAnimal");

//goto to a question belonging to another //questionnaire

gotoQuestion("System\\MyProject\\AnotherQuestionnaire\\DomesticAnimal");

Availability

Version 4.8