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.

QAS getParameters: Difference between revisions

From Catglobe Wiki
Tungocman (talk | contribs)
Tungocman (talk | contribs)
Line 24: Line 24:
<source lang="javascript">
<source lang="javascript">
Dictionary parameters = QAS_getParameters();  // Must be used in a specific QAS context
Dictionary parameters = QAS_getParameters();  // Must be used in a specific QAS context
print(parameters.ToString());                //Result:    {"test":1,"signup":454,"point":100}
print(parameters.ToString());                // Result:    {"test":1,"signup":454,"point":100}
</source>
</source>

Revision as of 03:36, 22 December 2011

QAS_getParameters

This function will get all parameters that passed into a specific QAS. This function must be used in a specific QAS context.

Syntax

QAS_getParameters()

Arguments

none

Return type

A dictionary

  • The parameter name will be the key in the key/value pairs of dictionary.
  • The value of parameter will be the value in the key/value pairs of dictionary

See also

  • getParameter()

Examples

Dictionary parameters = QAS_getParameters();  // Must be used in a specific QAS context
print(parameters.ToString());                 // Result:     {"test":1,"signup":454,"point":100}