Glenn,
Is there a reliable way to do this short of INTERPRET?
>
I'm not sure how INTERPRET could help calling an external routine with the
same name
Call (Translate(.context~name, qwertyuiopasdfghjklzxcvbnm',,
> 'QWERTYUIOPASDFGHJKLZXCVBNM'))
>
Using either the LOWER() built-in or lower() method might be simpler than
this TRANSLATE()
What if it's all digits and special characters?
>
You might append/prepend a lower-case letter or some very unlikely
characters like '00 00'x to the internal name and name the external routine
appropriately
Depending on what you want to achieve with this setup, alternatives like
classes might fit your concept better.
Also, ooRexx 5.0 introduces a concept called "namespace". With this, your
external routines can be loaded with e. g. "::requires 'external.cls'
namespace external" and then called with "call external:name"
On Mon, Feb 13, 2017 at 5:34 PM, Glenn Knickerbocker <n...@bestweb.net>
wrote:
> In playing around with adding and calling routines, I wanted to try
> calling an external routine with the same name as the internal routine I
> was already in. Is there a reliable way to do this short of INTERPRET?
> If the name has any lowercase letters, I can translate it to lower case
> to prevent matching any internal labels:
>
> Call (Translate(.context~name, qwertyuiopasdfghjklzxcvbnm',,
> 'QWERTYUIOPASDFGHJKLZXCVBNM'))
>
> What if it's all digits and special characters?
>
> ¬R
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users