Linked List

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > Data Structures >

Linked List

 

Description

 

Linked List implements a data structure container able to sequential dynamic linked nodes able to carry some data (string)

 

Additional information about Linked List

 

Use Wikipedia as source of information: https://en.wikipedia.org/wiki/Linked_list

 

How to use in thinBasic

 

As a minimum, the following are the step required to use an Linked lList:

1.use LList_New to create a new Linked List

2.use LList_Add to add consecutive nodes with data to a Linked List

3.use LList_Get to retrieve nodes Data

4.use LList_Free to remove the entire Linkd List and all its nodes (and data) from memory