mixed set_value(mixed val)
Set the value at the current position.
The new value
Returns the old value