Connecting Tech Pros Worldwide Help | Site Map

Re: Perl style splice functions for VB.NET and VBA

  #1  
Old November 21st, 2008, 02:35 AM
Peter Duniho
Guest
 
Posts: n/a
On Thu, 20 Nov 2008 18:27:23 -0800, John Brock <jbrock@panix.comwrote:
Quote:
I have been frustrated for a while by the difficulty of manipulating
arrays in VBA and VB.NET -- in particular the awkwardness involved
in appending, prepending, or inserting new elements -- so to make
my life easier I wrote two functions that act something like Perl's
splice function. [...]
You can either learn the idioms that already exist in the framework, such
as using a data structure more like what Perl calls an "array" (e.g.
List<T>), and extension methods in the Enumerable class such as Skip(),
Take(), etc.

Or you can waste a lot of time reinventing the wheel.

Your choice.

Pete
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Perl style splice functions for VB.NET and VBA Michael C answers 0 November 21st, 2008 08:35 AM
Re: Perl style splice functions for VB.NET and VBA Michael C answers 0 November 21st, 2008 08:35 AM
Re: Perl style splice functions for VB.NET and VBA Peter Duniho answers 0 November 21st, 2008 02:35 AM