|
|
| GetListSize | ||
| CurrentPos = GetListSize(List()) | ||
| Parameters: List() = The Type list handle you want to query |
||
| Returns: CurrentPos = The current position index the list is pointing at |
||
The GetListSize() function counts the number of used items in a linked list. FACTS: * GetListSize needs to iterates the items in the list. So can be slow on large lists. * Don't know what a linked list is ?, make sure you read the LinkedLists tutorial then. Mini Tutorial: This example creates a list of three people, then simply displays the list size using the GetListSize function.
This example would output.
|
| Related Info: | Dim | Each | EndOfList | GetListFirst | GetListNext | GetListPos | GetListPrevious | LinkedLists | List | ResetList | SetListPos | StepList : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |