AddToAlterableValue
AddToAlterableValue

Increments / creates an alterable value.

bSuccess = myInstance.AddToAlterableValue( Key, Value )

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

Parameters
  • Key
    Name of the key to change
  • Value
    Value to change it by - this can be a number or string
Comments

Note that adding to an object or array will cause a crash. Adding to a key which does not exist will create the key and set it to the value given.

See also
Instance:SetAlterableValue
Instance:GetAlterableValue



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