SetAlterableValue
SetAlterableValue

Changes / creates an alterable value.

bSuccess = myClass.SetAlterableValue( 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 to - this can be anything (number, string, array, object, etc.)
Comments

Alterable values use a Hash algorithm on the key for speed. Integer keys will be converted into strings, meaning there is no speed advantage for using them.

See also
Class:AddToAlterableValue
Class:GetAlterableValue
Class:SelectAlterableValue



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