$obj_pval, $obj_ref, $obj_val, and $get_array_ref
$obj_pval [object]
$obj_val [object]
$obj_ref [object]
$get_array_ref [object]
$obj_pval prints the name of the object to which object is connected. This may give you an intermediate name-link object if such an object exists in this connection.
$obj_val prints the full pathname of the object to which object is connected.
$obj_ref prints the full pathname of the object at the end of a chain of references to which object is connected. This call skips over intermediate name-link objects.
$get_array_ref prints the full pathname of the objects connected to object . If object is connected to a multi-operand expression, $get_array_ref returns nothing.
OM(SingleWindowApp) -> point p1;
OM(SingleWindowApp) -> point &p2 => p1;
OM(SingleWindowApp) -> point &p3 => p2;
OM(SingleWindowApp) -> point p4;
OM(SingleWindowApp) -> point &points[] => {p3, p4};
OM(SingleWindowApp) -> $obj_pval p3
value is `p2'
OM(SingleWindowApp) -> $obj_val p3
value is Root.Applications.SingleWindowApp.p1
OM(SingleWindowApp) -> $obj_ref p3
value is Root.Applications.SingleWindowApp.p2
OM(SingleWindowApp) -> $get_array_ref points
ref: 0 is: Root.Applications.SingleWindowApp.p3
ref: 1 is: Root.Applications.SingleWindowApp.p4