This function is a shortcut for @getfield(). It takes one argument, which we'll call X. If the object calling the function has its "varobj" field set, it will look at the object referred to by that field, and return the value of the X field on that object. Otherwise, it will return the X field of the calling object.