Navigation: thinBasic Modules > LL (Linked lists) > LL_Delete |
|
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
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |