PasteSib method: Leaf class
Syntax
PasteSib()
Description
The PasteSib method makes the leaf from the buffer (clipboard) a sibling to the leaf executing the method. You must use the Cut leaf method before you can paste a leaf.
You can have only one object at a time on the clipboard. If you cut another leaf or node, the leaf in the clipboard is overwritten.
Parameters
None.
Returns
A number; 0 if the paste is successful.