LL_Delete

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Obsolete > LL (Linked lists) >

LL_Delete

 

This functionality has been made obsolete by newer, better optimized Linked List available directly in core instead.

 

Description

 

Removes a node from the list and frees its memory.

Item to be deleted is passed as pointer.

 

Syntax

 

n = LL_Delete(llRoot, llItem)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

llRoot

Number

No

Linked list root handle

llItem

Number

No

Item handle

 

Remarks

 

%TRUE if llItem was successfully delete, %FALSE if not.

 

To get a linked list item handle, use one of the ways to find an item inside a linked list like, for example:

LL_FindByName, LL_FindByData, ...

 

Restrictions

 

See also

 

Examples