Goto and clear if

From Catglobe Wiki
Jump to: navigation, search

Go to and clear if

Syntax : GOTO LABEL (IF EXPRESSION) ANDCLEAR [LABEL1(,LABEL2)]

*Argument:

LABEL : label of an other question

*If IF EXPRESSION is not defined, the expression of condition will have the value "true"

[LABEL1(,LABEL2)]: list of question will be delete data if condition is met

Position : At the end of question declaration

This condition support all question type

Example :

QUESTION testPage PAGE

This is question text

GOTO anotherQuestion_1 IF (QTest == 1) ANDCLEAR [Q1,Q2]