This is a kind of a new programming environment; an additional virtual space, where you can easily define system-wide or layout-level constants, variables, universal (context-independent) field references, and calculations. A variable defined with this technique can be used everywhere around the system: in script steps, in field definitions, in custom functions, in custom menus, etc. Usage possibilities of this technique can be only limited by your imagination.
This simple and universal script can replace tons of customized record creation code in your solution. To add a new related record this script needs only one parameter: the name of the target TO. Everything else (parent table, key value(s), related field(s), and target layout) the script gets automatically using a single custom function Relator().