LST - Cursor On Cursor - Del B2

LST
Cursor On Cursor
Del B2

Description

This diagram depicts what happens when an item (B2) is deleted.

Notice that the reference item (B2) is removed immediatly. This causes the reference counter in (A4) to be reduced. A delete flag is set in (A4) because there are still references to it and deletion is delayed until all references are removed. (C) and (C1) are oblivious to the delete.

Navigation is affected by (A4) being flagged for delete. Navigation functions such as; lstFirst and lstNext will skip (hide) any items which are flagged for delete. This prevents deleted items from getting more references.

Related Functions

lstDelete

Page 6 of 9