This time there *appears* to be an actual issue...
Before I formally submit it I figured I'd check is anyone else had the same problem
When using array sort on a string array that went from 0 to 24, Array Sort apparently didn't like it.
Fortunately element "25" was blank - so when it sorted, element 0 became blank (as it should) and everything dropped down 1 element - but I "lost" one of the values
the code was similar to this:
REDIMming the array from 1 to 25 apears to have solved the problem.
Anyone else come across this? Before I send in a bug report?
Before I formally submit it I figured I'd check is anyone else had the same problem
When using array sort on a string array that went from 0 to 24, Array Sort apparently didn't like it.
Fortunately element "25" was blank - so when it sorted, element 0 became blank (as it should) and everything dropped down 1 element - but I "lost" one of the values

the code was similar to this:
Code:
dim somearray(1) as string ' 'some code ' redim somearray(25) 'should give 0 to 24 for i=0 to 24 somearray(i) = str$(i) + "a string" next i ARRAY SORT somearray()
Anyone else come across this? Before I send in a bug report?
Comment