logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

delete-list - (linked-list)

Description

delete-list will delete current element in linked <list> created with new-list. A current list element is the one that will be subject to statements like read-list and write-list. See position-list for more details on the current element. <status> (in "status" clause) is GG_OKAY if element is deleted, or GG_ERR_EXIST if could not delete element (this can happen if the list is empty, or if current list element is beyond the last element, such as for instance if "end" clause is used in position-list statement). Once an element is deleted, the current element becomes either the next one (if the current element wasn't the last one), or the previous one (if the current element was the last one).

Examples

delete-list mylist status st

Name

delete-list - (linked-list)

Purpose

Delete current linked list element.

See Also

Linked list delete-listget-listnew-listposition-listpurge-listread-listwrite-list See all documentation $DATE $VERSION GOLF(2gg)

Syntax

delete-list <list> [ status <status> ]

See Also