Domino 9 und frühere Versionen > ND8: Entwicklung

Function mit Array als Rückgabewert

(1/1)

buzi:
Hallo zusammen,

wie ist die Syntax einer Funktion, die als Rückgabewert ein Array hat?
 :-:


--- Code: ---Function Finden(tnDocument As NotesDocument) As Variant

Dim i As Integer
Dim tnBaDocuments(100) As Variant
......
tnBaDocuments(i) = respDoc.Unid
i=i+1
....
Finden= Trim(tnBaDocuments)

End Function

--- Ende Code ---

So stimmt es wohl nicht...

buzi:
Sorry, habs selber gelöst.

Statt Trim muss es FullTrim heißen.....

 :o :o :o :o :o

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln