Lotus Domino script snippet: Better NotesDocumentCollection loops

Lotus Domino script snippet: Better NotesDocumentCollection loops

This code is an example of a LotusScript design pattern.

It uses a reusable function to loop over the documents in a NotesDocumentCollection.

This simple example just copies all the documents to the current database. It shows how you can use write code once and reuse many times for different purposes, while just writing the code that matters for each document in the subclass.