User:Eriksiers/Linked List: Difference between revisions

Content added Content deleted
(fixed a few bugs^H^H^H^H brain farts)
m (updated lang tag)
Line 1: Line 1:
This is a [[linked list]] class for [[:Category:Visual Basic|Visual Basic]] & [[:Category:VBA|VBA]]. It should work at least as far back as VB4.
This is a [[linked list]] class for [[:Category:Visual Basic|Visual Basic]] & [[:Category:VBA|VBA]]. It should work at least as far back as VB4.


<lang vb>'This class is in the Public Domain.
<syntaxhighlight lang="vb">'This class is in the Public Domain.
Private Type Node
Private Type Node
data As Variant
data As Variant
Line 233: Line 233:
End If
End If
prevNode = True
prevNode = True
End Function</lang>
End Function</syntaxhighlight>