Syntax
this referent
Purpose
this referent is used in a repeat over referents loop to refer to the current referent.
this referent can be used in many ways:
- in actions modified by a
using referent prefix, wherever a string expression is expected. The current value of the selected referent is returned.
- to change the value of the current referent (for example,
set this referent to ).
- to obtain the key of the current referent (
key of this referent ). The selected referent is guaranteed to have a key (unlike counters, streams and shelves) because it must exist, and all referents have a key.
- to determine the status of the selected referent (
this referent (is | isnt) attached ). The test succeeds if the selected referent has been opened or defined (with the set action, for example) at some time.
|