PrevSib property: Leaf class
Description
This property returns a leaf object associated with the previous sibling leaf. The previous sibling of a leaf is the leaf appearing above the current leaf. If there is no previous sibling and you try to assign it to a variable, you receive a runtime error.
This property is read-only.
Example
The following code traverses the leaves from bottom to top.
While &MYLEAF.HasPrevSib
&MYLEAF = &MYLEAF.PrevSib;
/* do some processing */
End-While;