# Method ::`->=()

Method `->=

  `void `->=(string index, mixed value, object|void context, int|void access)`

Description

  Builtin arrow set operator.

Parameter `index`

  Symbol in context to change the value of.

Parameter `value`

  The new value.

Parameter `context`

  Context in the current object to start the search from. If `UNDEFINED` or left out, `this_program::this` will be used (ie start at the current context and ignore any overloaded symbols).

Parameter `access`

  Access permission override. One of the following:

  `0` | See only public symbols.
  `UNDEFINED`
  `1` | See protected symbols as well.

  This function indexes the current object with the string index, and sets it to value. This is useful when the arrow set operator has been overloaded.

See also

  ::`->()