THIS Function

── THIS ─┬──────────────────────────────────────────────┬──────────────┤
         ├─ ( ──<structure block type identifier>── ) ──┤
         └─ ( ──<connection block type identifier>── ) ─┘

The THIS intrinsic provides a self reference to the current structure or connection block when no type argument is provided, or to the structure or connection block that is of type <structure block type identifier> or <connection block type identifier>. The THIS function can only be invoked within a procedure that is embedded in the declaration of the specified structure or connection block type identifier.

While in an embedded structure or connection block, the THIS intrinsic can provide a reference to the outer structure block by using the outer structure or connection block type identifier as the argument to the THIS intrinsic.