Linked Questions
10 questions linked to/from How do I sort arrays using vbscript?
0
votes
0
answers
66
views
Sort a text file and then extract the last 5 lines [duplicate]
i have an issue that i just cant get working - I have to use VBSCRIPT for this.
I have a data that is being extracted from a log file but unfortunatly its not sorted post the extract (Im just parsing ...
5
votes
2
answers
18k
views
Collection Maximum Size
Here's my code:
Sub isdofsodjisf48023jroi23f984444444jiodfiosj12348023jroi23f98()
Dim colFiles As New Collection
RecursiveDir colFiles, "C:\Documents and Settings\Alex Gordon\Desktop\testing\...
2
votes
2
answers
3k
views
VBScript Coding Challenge: Sort Array by String Length after Split Command
I am a C student in VBScript coding and need a little help.
My code executes a split command as follows:
outputArray = split(Description," ")
With the individual words from Description now in an ...
0
votes
1
answer
6k
views
Resize multidimensional array and sort them by date
I think my code successfully creates the multi dimensional array because I get the right amount when I count it with UBound(DataArray).
But I get null value when I try to display one of the data as ...
1
vote
2
answers
791
views
Is there a way to query a VB Script Array?
I'd like to be able to query an array (multi and single dimensional ) with something like SQL. Is there a way to do this?
It just seems extraordinarily wasteful to step through it one record at a ...
0
votes
1
answer
702
views
Test sorting through QTP
There is a java table in my application which has 1 column & 5 rows. Contents of rows are as below. These contents are arranged in descending order
172-18-zfs
MKTLAB
NFSVOL ...
-2
votes
1
answer
931
views
find the greatest of 10 numbers in vbscript
I just created vbscript code to find the greatest numbers from 10 input numbers. It works only for numbers between 1 to 10. Why?
<html>
<head>
<title>Enter 10 numbers to find the ...
1
vote
1
answer
227
views
MS Access: dictionary sorting and manipulation
Suppose I want to have a list of item as below
arr["john"] = 40
arr["mark"] = 12
arr["clark"] = 53
arr["sam"] = 23
Now I want to sort them depending on the values as below
arr["clark"] = 53
arr["...
0
votes
0
answers
148
views
Sorting the data in a loop using ASP Classic?
I want to sort the data by the SuppCodeArry in a loop. This is my code:
<%
SuppCodeArry="SA^SA^SB^SA^SC^SB^SA^"
ITEMArry="A^B^C^D^E^F^G^"
str_SuppCode = Split(SuppCodeArry,"^")
...
1
vote
0
answers
106
views
How do I mergesort all every row of the array based on a specific column of the array
I have a 2d array and would like to sort each row based on the final column. I have created a mergesort algorithm in VBScript (which is what I am going to use) that does the sorting for a single ...