Search Tools Links Login

Library of Array Routines


Visual Basic 6, or VB Classic

I use arrays all the time, so I thought I'd put the functions I commonly use together into a library. Easy to read code. Routines include:

- ArrayCopy(List, ListToCopyFrom, [StartAt], [Length])

- ArrayAppend(List, Item)

- ArrayRemove(List, Index)

- ArrayInsert(List, Index, Item)

- ArrayConcatenate(List, ListToCopyFrom)

- ArrayTrim(List, [TrimFromBeginning], [TrimFromEnd])

- ArraySplice(List, StartAt, Length, [ListToCopy])

- ArrayToString(List, [Separator])

Clean code with lots of comments in reusable module. Also includes an extensive reference in HTML. Tested with VB6, but should be compatible with all modern versions and VBScript (with minor modifications).

Please vote for this code if you like it.

Original Author: James Vincent Carnicelli

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 95 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD6311612000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 6,448 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.