Method Get():varPut() Foundation
Assigns a value to the associated variable.
:varPut( <xValue> ) --> xValue
:varPut() returns the value returned by the data code block.
This method assigns <xValue> to the associated variable by evaluating the data code block, passing as an argument the value <xValue>. Calling <varPut() is equivalent to the following expression: Eval( oGet:block, xValue ). If no argument is passed to <varPut() or if <xValue> is NIL, the data code block is not evaluated and the method returns NIL. Otherwise, the return value of :varPut() is identical to the return value of the data code block.
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.