ralphtrent
Programmer
Hi
I want to pass an array into a class. I need to make the array available to the entire class, but I am stuck on how to do that.
I have tried to dim array() as string before my subs but then how do I set the value of the array. I thought about create a New sub for the class that has a parameter which is data, then I would like to populate teh array with that data. I have tried to just pass in a string of data and then create the array useing the split command, but that does not seem to work.
So to sum it up, I need to create a array bu passed ni values that will be available to the entire class.
Thanks,
RT
I want to pass an array into a class. I need to make the array available to the entire class, but I am stuck on how to do that.
I have tried to dim array() as string before my subs but then how do I set the value of the array. I thought about create a New sub for the class that has a parameter which is data, then I would like to populate teh array with that data. I have tried to just pass in a string of data and then create the array useing the split command, but that does not seem to work.
So to sum it up, I need to create a array bu passed ni values that will be available to the entire class.
Thanks,
RT