Item Pointer

MoveToFirstChildItem

Description

MoveToFirstChildItem moves to the first child item of the item pointed to by the supplied reference pointer.

Syntax

ptr:MoveToFirstChildItem( ptrRef )

Parameters

ptrRef
item pointer: to a reference data item. Moves this pointer to point at the first child of the reference data item.

Return Value

None

Remarks

The pointer used as a parameter can be the same pointer.

Example
pi:MoveToFirstChildItem(pi) -- moves pi to point to its own first child
pi:MoveToFirstChildItem(pi2) -- moves pi to point to pi2's first child