TOC PREV NEXT INDEX

$cur_seq, $obj_seq, $obj_seq_base, and $obj_seq_ptrs

Synopsis

$cur_seq _
$obj_seq [object]
$obj_seq_base [object]
$obj_seq_ptrs [object]

Description

$cur_seq prints AVS/Express' current sequence number.

$obj_seq prints an object's sequence number. It returns the highest sequence number of the object itself, objects connected to the object, subobjects of the object, and objects connected to the subobjects. If a connection is to a chain of references, AVS/Express traces the chain of references to determine the highest sequence number in the chain.

$obj_seq_base prints an object's sequence number. It does not consider connections or subobjects.

$obj_seq_ptr prints an object's sequence number. It returns the highest sequence number of the object and objects connected to the object. It does not consider subobjects.

What sequence number means

The sequence number is incremented each time AVS/Express runs a method. As changes are made to AVS/Express objects, they are tagged with the current sequence number. You can, therefore, use sequence numbers to order operations in the system. More specifically, a particular method uses sequence numbers to determine which parameters have changed since the last invocation.

Examples

OM(SingleWindowApp) -> $cur_seq
current seq = 631
OM(SingleWindowApp) -> int y;
OM(SingleWindowApp) -> $obj_seq y
sequence number for element: Root.Applications.SingleWindowApp.y is: 0
OM(SingleWindowApp) -> y = 3;
OM(SingleWindowApp) -> $obj_seq y
sequence number for element: Root.Applications.SingleWindowApp.y is: 640
OM(SingleWindowApp) -> int z => y;
OM(SingleWindowApp) -> $obj_seq z
sequence number for element: Root.Applications.SingleWindowApp.z is: 647
OM(SingleWindowApp) -> $obj_seq_base z
sequence number for element: Root.Applications.SingleWindowApp.z is: 647
OM(SingleWindowApp) -> y = 5;
OM(SingleWindowApp) -> $obj_seq y
sequence number for element: Root.Applications.SingleWindowApp.y is: 656
OM(SingleWindowApp) -> $obj_seq z
sequence number for element: Root.Applications.SingleWindowApp.z is: 656
OM(SingleWindowApp) -> $obj_seq_base z
sequence number for element: Root.Applications.SingleWindowApp.z is: 647


TOC PREV NEXT INDEX