Method lfun::`->=()
- Method
`->=
mixed`->=(stringindex,zerovalue,object|voidcontext,int|voidaccess)- Description
Atomic get and set arrow index callback.
- Parameter
index Symbol in
contextto change the value of.- Parameter
value The new value.
- Parameter
context Context in the current object to index.
If
UNDEFINEDor left out,this_program::thisis to be used (ie start at the current context and ignore any overloaded symbols).- Parameter
access Access permission override. One of the following:
0See only public symbols.
UNDEFINED1See protected symbols as well.
This function is to set the value at symbol
indexof the current object tovalue.- Returns
Returns the previous value at symbol
indexof the current object.- Note
In Pike 8.0 and earlier the return value of this function was ignored.
- See also