result=example(2,3)
Function example(x,y)
dim myarray(2)
myarray(0) = x+y
myarray(1)=x*y
example=myarray
End function
msgbox result(0)
msgbox result(1)
dim myarray(2)
myarray(0) = x+y
myarray(1)=x*y
example=myarray
End function
msgbox result(0)
msgbox result(1)
No comments:
Post a Comment