
April 2nd, 2008 by

daniva

Loading ...
Sorting arrays in VBScript has never been easy; that’s because VBScript doesn’t have a sort command of any kind. In turn, that always meant that VBScript were forced to write their own sort routines, be that a bubble sort, a heap sort, a quicksort, or some other type of sorting algorithm.
But that was before the advent of the .NET Framework. If you have the .NET Framework installed on your computer then you can sort an array using code no more complicated than this:

April 1st, 2008 by

daniva

Loading ...
Using common VBScript is impossible to append on array to another. It is possible using the System.Collections.ArrayList object
The AppendRange method adds the elements of an array to the end of the ArrayList.

April 1st, 2008 by

daniva

Loading ...
The ArrayList object Implements the IList interface using an array whose size is dynamically increased as required.

April 1st, 2008 by

Yaron Assa

Loading ...
You can access some .NET classes from script directly, with one preparatory step on a system where you want to do it. Here’s why and how.
Recent Comments