comp • gb.data • list • _get

List[] (gb.data)

Dim hList As List
Dim aVariant As Variant
aVariant = hList [ Index As Integer ]

Get the specified element from the beginning of the list. This is a random access function and thus slow. Try to avoid it.

Giving a negative Index traverses the list backwards.

See also

.List.Item.Index for a discussion on indices, _put