Vector class in Lotus Script

Here is my Vector class, that makes handling of arrays easier. You also have to use the Enumeration and VectorEnumeration classes that are attached. Use it like this:


Dim v As New Vector()
Call v.addElement("Domino")
Call v.addElement("Notes")
Call v.addElement("R5")
Print "Elements are: " & v.toString()

Results in the text ”Elements are: Domino, Notes, R5”

You may download and use the code at your own risk.


On request, I have changed the license from GPL to LGPL on these files.

I have updated the Vector class with a bug fix that Mikkel Heisterberg kindly supplied. The code is now also GPL:ed.