This function is a shortcut for @setfield(). It takes two arguments, which we'll call X and Y. If the object calling the function has its "varobj" field set, it will look at the object referred to by that field, and set its X field to contain Y. Otherwise, it will set the X field of the calling object to Y.