Method DataRef():setData() Foundation
Assigns a value to the edit buffer of an Xbase Part
:setData( <xValue> ) --> xValue
This method returns the value assigned to the edit buffer of the Xbase Part.
The method :setData() assigns a value to the edit buffer of an Xbase Part. If a code block is contained in the instance variable :dataLink, this is evaluated without arguments and the return value of the code block is assigned to the edit buffer. The code block contained in :dataLink is not evaluated when a value is explicitly specified as a parameter in the call to the method :setData().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.