On Mon, May 14, 2018 at 3:07 PM, Leslie Turriff <[email protected]> wrote:

>         I shouldn't have to figure out how to write something to implement
> such a
> basic feature.  The Language Reference explicitly states,
>
> 'For all other comparison operators, if both terms involved are numeric, a
> numeric comparison (see Section 10.4, “Numeric Comparisons”) is effected.'
>
>
And as I have already pointed out, that is documentation for something that
does not apply for sorting. That is the documentation for the string
comparison operators, not the string compareTo() method, which contains no
such reference.  I was going to write one of these for you, but I think
I'll save the effort for somebody who asks questions with a little less
snark.

Rick



>         Again, it seems to me that something as fundamental as numeric
> comparison
> should work the same way everywhere.  This situation inflicts a very high
> astonisment factor for the user.  Classic Rexx is so very intuitive and
> has
> few deficiencies in regards to built-ins; ooRexx, not so much.
>
> On 2018-05-14 13:53:02 Rick McGuire wrote:
> > You’ll need to write your own comparator class for that.
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to