|
-
May 1st, 2003, 11:17 PM
#1
Thread Starter
New Member
How do I add to an array?
Greets Folks,
I'm having probs and need help.
example mArray () = {"sam","smith"} ' This is a literal declaration which is straightforward and easy to manipulate.
I'm looking to do something like this:
mArray(0) = intSomeInt ' This isn't working for me
What's the proper way to get a variable into an array element?
I'm trying to take the items from a List Box on a Form and store them into an array. The array will be Private and declared in a Class Module. How do I get the items from the List Box and store them in the array elements in the Class Module?
Put List Box Item1 into mArray(0)
Put List Box Item2 into mArray(1)..........and on down the list
If you can help me, I'll be very grateful, Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|