|
-
Feb 22nd, 2013, 08:03 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Adding new item to array
Hi Guys!
.NET has pretty good functions to add new items to an array. Is there anyway to do it with vb6, too?
Because, you know, "Redim Preserve" is a bit bulky. It is backing up the old keys in the memory, redimensioning the array and restoring the old keys. It is a huge waste of tme. Also you need one line more to load your key to the new dimension.
I just want something like Array.Add = MyArray("3").
Any suggestions?
Thanks a lot!
Last edited by Flashbond; Feb 22nd, 2013 at 08:08 AM.
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
|