September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
19
Task/Queue-Definition/VBA/queue-definition.vba
Normal file
19
Task/Queue-Definition/VBA/queue-definition.vba
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
Public queue As New Collection
|
||||
|
||||
Private Sub push(what As Variant)
|
||||
queue.Add what
|
||||
End Sub
|
||||
|
||||
Private Function pop() As Variant
|
||||
If queue.Count > 0 Then
|
||||
what = queue(1)
|
||||
queue.Remove 1
|
||||
Else
|
||||
what = CVErr(461)
|
||||
End If
|
||||
pop = what
|
||||
End Function
|
||||
|
||||
Private Function empty_()
|
||||
empty_ = queue.Count = 0
|
||||
End Function
|
||||
Loading…
Add table
Add a link
Reference in a new issue