LL_UpdateByName

<< Click to Display Table of Contents >>

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

LL_UpdateByName

 

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

 

Description

 

Update data inside a linked list item giving item key name.

 

Syntax

 

pItem = LL_Update(llRoot, ItemName, ItemData)

 

Returns

 

Number.

A pointer to the linked list item just updated

 

Parameters

 

Name

Type

Optional

Meaning

llRoot

Number

No

If llRoot is = 0 (zero) a new linked list will be created and the new item added.

If llRoot is <> 0, a new item will be added to the linked list pointed by llRoot

ItemName

String

No

Name of the item. This is the key to be used to change, data in future reference

ItemData

String

No

Any string to be associated with ItemName

 

Remarks

 

Important: if ItemName is not present in the list, it will be added.

 

Restrictions

 

See also

 

Examples