afc_nodemaster_item

Name

afc_nodemaster_item  -- Moves to the desired item

Synopsis

void * afc_nodemaster_item (NodeMaster * nm, unsigned long numitem);

Description

Use this command to position current node to the ordinal numitem node.

Inputs

nm

Pointer to a valid NodeMaster class.

numitem

signed long. Ordinal value of node position.

Result

Node data - Position correct. NULL if the list is empty.

Note

From v4.00 it can take advantages of the array rappresentation of the list to speed up item positioning. Please, see afc_nodemaster_create_array() for more info.

See Also