VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Library of Array Routines

by James Vincent Carnicelli (21 Submissions)
Category: Data Structures
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (17 Votes)

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.

Rate Library of Array Routines

Download Library of Array Routines

Download Library of Array Routines (6 KB)

Library of Array Routines Comments

No comments have been posted about Library of Array Routines. Why not be the first to post a comment about Library of Array Routines.

Post your comment

Subject:
Message:
0/1000 characters