May
06
Posted (Johan Känngård) in LotusScript, Programming on 2002-05-06

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.


Post a comment
Name: 
Email: 
URL: 
Comments: