Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

CheckQuota

From Catglobe Wiki
Revision as of 07:09, 22 March 2011 by Cg_pham (talk | contribs)



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