Anonymous user
CHANGESTR.REX: Difference between revisions
m
moved a category to TOF.
m (→the CHANGESTR source: added an internal routine (function) version.) |
m (moved a category to TOF.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1:
[[Category:REXX_library_routines]]
==the CHANGESTR function==▼
▲== the CHANGESTR function ==
This a RYO version of the REXX function '''changestr''' (<u>change</u> <u>str</u>ing).
It is included in some of the more modern Classic REXXes, but older versions of
<br>Classic REXX don't have this function as a BIF (<u>
This version of the '''changestr''' BIF has more functionality than the standard BIF.
__TOC__
==the CHANGESTR (external) program source==▼
▲===the CHANGESTR (external) program source===
The following CHANGESTR program can be coded as is when the intention is to be an external routine (function).
<lang rexx>/*REXX program emulates the CHANGESTR BIF (built-in function) for older REXXes.*/
Line 68 ⟶ 73:
return f || $ || h /* support three options. */</lang>
=== the CHANGESTR
The following CHANGESTR program can be coded as is when the intention is to be an internal routine (function).
|