Single

From Catglobe Wiki
Revision as of 08:35, 18 March 2011 by Cg pham (talk | contribs)
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