Arrays

  • Thread starter Thread starter louciv
  • Start date Start date
L

louciv

How do I set an array variable to a function?
Here is a sample of my code:

Dim testWS as new clsws_activeinsurance
Dim temp() as struct_mapitem

temp() = testWS.wsm_activeinsurance("MC12345","UUID")

The function is supposed to bring back a two-dimensional array. How do I set
my variable for this array?
The function that I am calling is a web service from www.carrier411.com. I
cannot seem to get the dimensions of the array correctly.

Please help!!!

Thanks,
Lou
 
How do I set an array variable to a function?
Here is a sample of my code:

Dim testWS as new clsws_activeinsurance
Dim temp() as struct_mapitem

temp() = testWS.wsm_activeinsurance("MC12345","UUID")

The function is supposed to bring back a two-dimensional array. How do I set
my variable for this array?
The function that I am calling is a web service fromwww.carrier411.com. I
cannot seem to get the dimensions of the array correctly.

Please help!!!

Thanks,
Lou

use a variant.

dim varMyArray as variant
varMyArray = SomeFunctionThatReturnsAnArray()
 
Back
Top