One of the motivations to create "rgf_util2.rex" was exactly the problem, that 
useful new features
like caselessness for strings were not made available in built-in-function like 
manner only as
methods, which used to pose problems to "classic Rexx" programmers. In addition 
the useful new sort
method on arrays was made available via a BIF-like routine (also adding some 
useful features while
implementing that).

All these BIF-like routines are marked with a trailing "2" to distinguish them 
from the original
BIFs e.g. abbrev2(), changeStr2(), compare2(), countStr2(), lastPos2(), pos2() 
and wordPos2() which
by default carry out caseless comparisons.

The package got introduced and presented at the International Rexx symposium in 
2009, cf.
presentation slides [1], article [2], and reference card [3]. "rgf_util2.rex" 
is part of the
BSF4ooRexx distribution and as such the latest version can be downloaded from 
the BSF4ooRexx project
on Sourceforge [4].

HTH,

---rony

[1] Presentation slides "rgf_util2.rex": 
<https://wi.wu.ac.at/rgf/rexx/orx20/2009_orx20_rgf_util2.pdf>

[2] Article "rgf_util2.rex":
<https://wi.wu.ac.at/rgf/rexx/orx20/2009_orx20_RGF_UTIL2-20100806-article.pdf>

[3] Reference card "rgf_util2.rex":
<https://wi.wu.ac.at/rgf/rexx/orx20/2009_orx20_RGF_UTIL2-20100806-article.pdf>

[4] Package (Code) "rgf_util2.rex":
<https://sourceforge.net/p/bsf4oorexx/code/HEAD/tree/trunk/bsf4oorexx.dev/bin/rgf_util2.rex>


On 05.03.2022 15:48, Mike Cowlishaw wrote:
>  
>>> Hi Leslie,
>>> caselessEquals is available as a method of the String class 
>>> only, not 
>>> as a routine as you try to run it
>>      Well, my bad; I left out the ~.  Duh.  Sorry to bother you.
> Actually not your 'bad' at all.  If it's a method on the String/Rexx class
> it should be available as a function, too.  Otherwise, it's "astonishing".
> See "Dealing with reality" on page 15 of:
> http://speleotrove.com/rexxhist/TRL-background.pdf  :-)
>
> Mike



_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to