NextSib property: Leaf class

Description

This property returns a leaf object associated with the next sibling leaf. The next sibling of a leaf is the leaf appearing under the current leaf. If there is no next sibling and you try to assign it to a variable, you receive a runtime error.

This property is read-only.

Example

The following code traversed the leaves from top to bottom.

While &MYLEAF.HasNextSib 
   &MYLEAF = &MYLEAF.NextSib; 
   /* do some processing */ 
End-While;