Member variable Get():block Foundation
Contains the data code block for accessing a variable.
This instance variable contains a reference to the data code block used to get or set the value of the associated variable. The general form for such a data code block is:
The method :display() displays the value of the associated variable by evaluating the data code block with no argument. The method :assign() stores the value of the edit buffer to the associated variable by evaluating the data code block using the value of the edit buffer as an argument. In order for the display and assignment to work correctly, the data code block must conform to the coding style shown above. The default value for :block is NIL.
When Get objects are instantiated using the @...GET command, they receive a predefined data code block. This code block is associated with the variable in the command. When the designated variable is an array element, then the code block accesses the array element.
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.