Navigation:  thinBasic Modules > LL (Linked lists) >

LL_FindByData

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the list item's handle given its data value.

 

Syntax

 

pItem = LL_FindByData(llRoot, ItemData)

 

Returns

 

Number.

Zero if not found.

 

Parameters

 

Name

Type

Optional

Meaning

llRoot

Number

No

Linked list root handle

ItemData

String

No

Data value of the linked list item to be found.

 

Remarks

 

Restrictions

 

See also

 

Examples