LOTUSSCRIPT/COM/OLE CLASSES


Getting a returned array
Arrays returned by Domino properties and methods must be defined as Variant. You cannot define the return variable as a dynamic array. For example, you can do:
Or:
But not:
In general, for performance reasons, consider placing a returned array in a variable before accessing its elements, especially if you are using a Forall loop. For example, try:
Instead of: