Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3798

Problem with return value of array

$
0
0

hello group, I need your help.
I have a function from which I would like to obtain 2 values, stored in an array. Is it possible to return these two values? How can I recall the value positioned in box 0 of the array and that of box 1?

Function DELETE(Table as string, Name as string, MyData as string) as integer
 Dim MyArray(2) as integer
         MyArray(0)=111
         MyArray(1)=222
return MyArray

in the body …

messagebox(" My Array returned " + DELETE("TEST1","TEST2","TEST3").ToString +" value") ’ <<< ???

21 posts - 8 participants

Read full topic


Viewing all articles
Browse latest Browse all 3798

Trending Articles