This procedure finds an item by its item number and returns the pointer to the item.
Note: Because items are owned by the system, user tasks cannot change the values of their fields. They can, however, read the values contained in the public fields.
Arguments
i
The number of the item to look up.
Return Value
The procedure returns the pointer to the item or NULL if the item does not exist.