Single

From Catglobe Wiki
Jump to: navigation, search



Single

An identifier with number type is created for each Single question, its value is the selected answer option value.

Example

5697.jpg

if (Q1 == 1)//Mand

//do something

else

//do something else

Answer option can be set to selected by assigning its value to the question identifier.

Example

Q1 = 1;//set Q1 to Mand