VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Library of Array Routines

James Vincent Carnicelli  (21 Submissions)   Data Structures   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

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 (18(18 Vote))

Download Library of Array Routines

Library of Array Routines Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters