Sort bug

Bob Sneidar bobsneidar at iotecdigital.com
Thu Aug 31 19:37:40 EDT 2023


The function is adding the value of two chunks together and returning the result. How does that even compute? Unless the + operator is doing something totally different here…

Bob S


On Aug 31, 2023, at 3:38 PM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:

Actually, the syntax is correct. It uses a custom sort function. The function call includes the "each" which means it passes the correct parameter to the custom function, which then acts on it and sends the result back to the calling handler for sorting. It's a nice way to customize the built-in sort. You can do some pretty extravagant things with it.


On 8/31/23 10:25 AM, Bob Sneidar via use-livecode wrote:




More information about the use-livecode mailing list