Difference between revisions of "CheckQuota"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Questionnaire_Functions]]

+
{{HelpFiles}}
  
 
====checkQuota====
 
====checkQuota====

Latest revision as of 10:44, 12 December 2011



checkQuota

Returns true if the specified quota has reached its target and the questionnaire answer sheet is in this quota.

Syntax

checkQuota(quota)

Arguments

quota: Is a string expression. It is the name of the quota.

Return type

bool

Examples

/*check if the existent number of answers to question “What is your gender?” has reached its limited number defined with quota male*/

if (checkQuota("male")) gotoQuestion("Appologize_Appreciate");

Availability

Version 4.8