AddToGlobalValue
AddToGlobalValue

Adds to the specified global value.

bSuccess = mySpecial.AddToGlobalValue( Global_Value_Name, Value )

Return value
TRUE if the value was set successfully, otherwise FALSE.

Parameters
  • Global_Value_Name
    A string containing the name of the global value to set (not case-sensitive). This value MUST be a string, number, or undefined.
  • Value
    The value to add. This can be a string or a number.
Comments

If the global value is not found, it will be created and set to the Value parimiter.
Adding a string to a number will result in a number, where the string is treated as 0. Adding a number to a string will result in a string, where the number is converted to base 10.

See also
Special:SetGlobalValue
Special:GetGlobalValue
Special:GetAllGlobalValues



JAM © 2005 no one in partiular
Project started by David Evans in 2005