Difference between revisions of "SetQuotaTarget"

From Catglobe Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
[[Category:Questionnaire_Functions]]
 
[[Category:Questionnaire_Functions]]

+
{{HelpFiles}}
  
 
====setQuotaTarget====
 
====setQuotaTarget====

Latest revision as of 08:19, 13 December 2011



setQuotaTarget

Sets the target to a non-decimal new value for a quota.

Syntax

setQuotaTarget(quota, new_target)

Arguments

quota: Is a string expression.

new_target: Is an expression of number type, new_target must not be a decimal value.

Return type

empty

Examples

//set the target of quota male to 50

setQuotaTarget("male", 50);

Availability

Version 4.8