ListView sorting broken with numbers >32-bits
ListView sorting broken with numbers >32-bits
ListView sorting doesn't work if the numbers in the list are bigger than 32-bits, the results look random (though probably just appear random but are correct for the first 32-bits of the numbers).
Re: ListView sorting broken with numbers >32-bits
Did you try it with AHK 64-bit?
Edit:
Edit:
Integer: For sorting purposes, indicates that this column contains integers. To be sorted properly, each integer must be 32-bit; that is, within the range -2147483648 to 2147483647. If any of the values are not integers, they will be considered zero when sorting (unless they start with a number, in which case that number is used). Numbers may appear in either decimal or hexadecimal format (e.g. 0xF9E0).
LV_ModifyCol
Re: ListView sorting broken with numbers >32-bits
Evidently it is unsupported, not a bug.
Ordering of items considered "equal" (such as all being considered zero) by the qsort algorithm generally seems arbitrary. They are supposed to be equal, so it should not matter what order they are placed in.
Ordering of items considered "equal" (such as all being considered zero) by the qsort algorithm generally seems arbitrary. They are supposed to be equal, so it should not matter what order they are placed in.
Re: ListView sorting broken with numbers >32-bits
Yes, I tried it with 64-bit AHK. It's strange because of the three columns, one looks like it's correct, but the other two are just strange results. It's odd that even the 64-bit version is limited to 32-bit, especially since even 32-bit programs are capable of handling 64-bit numbers.just me wrote: ↑11 Oct 2019, 03:11Did you try it with AHK 64-bit?
Edit:Integer: To be sorted properly, each integer must be 32-bit; that is, within the range -2147483648 to 2147483647. If any of the values are not integers, they will be considered zero when sorting (unless they start with a number, in which case that number is used).
LV_ModifyCol
Who is online
Users browsing this forum: No registered users and 17 guests