Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
Private Function order(list1 As Variant, list2 As Variant) As Boolean
|
||||
i = 1
|
||||
Do While list1(i) <= list2(i)
|
||||
i = i + 1
|
||||
If i > UBound(list1) Then
|
||||
order = True
|
||||
Exit Function
|
||||
End If
|
||||
If i > UBound(list2) Then
|
||||
order = False
|
||||
Exit Function
|
||||
End If
|
||||
Loop
|
||||
order = False
|
||||
End Function
|
||||
Public Sub main()
|
||||
Debug.Print order([{1, 2, 3, 4}], [{1,2,0,1,2}])
|
||||
Debug.Print order([{1, 2, 3, 4}], [{1,2,3}])
|
||||
Debug.Print order([{1, 2, 3}], [{1,2,3,4}])
|
||||
End Sub
|
||||
Loading…
Add table
Add a link
Reference in a new issue