Stack class in LotusScript

Another useful class for you to use at your own risk. Can be used like:

 Dim stack As New Stack() Call stack.push("Domino") Call stack.push("Notes") Call stack.push("R5") Print "Stack is: " & stack.toString() Print "First: " & stack.pop() Print "Second: " & stack.pop() Print "Third: " & stack.pop() 

The toString() method now checks that there is items in the stack before looping through them. Thanks for the bug report, Chad!