Single

From Catglobe Wiki
Revision as of 08:24, 14 December 2011 by Cg pham (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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