HP Forums

Full Version: List Commands Library for 50g
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Today while refreshing my PHP (using it on and off, surely less than userRPL), I noticed that there is no similar function like KSORT for PHP arrays (that are like maps). That is, I found no built-in way to say "given an array of integers, order the values, but then please order the other array (containing the indexes) accordingly".

This is how ListExt spoiled me.

For reference: https://www.php.net/manual/en/array.sorting.php
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Reference URL's