TOC PREV NEXT INDEX

$obj_pval, $obj_ref, $obj_val, and $get_array_ref

Synopsis

$obj_pval _[object]
$obj_val _ [object]
$obj_ref _ [object]
$get_array_ref _[object]

Description

$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.

Examples

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


TOC PREV NEXT INDEX