hcl-bot
1
I created a Function and I am trying to return a multivalue array. Can a Function return a multivalue array? I keep getting a type mismatch error.
ex.
Function GetArray(doc As NotesDocument) As Variant
'<BUILD ARRAY>'
GetArray = temparray
End Function
hcl-bot
2
Subject: Can a LotusScipt Function return an array?
Yes, see below for example:Sub Click(Source As Button)
t = getArray()
End Sub
Function getArray () As Variant
Dim you(0 To 3) As String
you(0) = "0"
you(1) = "1"
you(2) = "2"
you(3) = "3"
getArray = you
End Function