Jump to content

CHANGESTR.REX: Difference between revisions

m
added an internal (routine) version.
m (→‎the CHANGESTR source: added an internal routine (function) version.)
m (added an internal (routine) version.)
Line 8:
 
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 ⟶ 71:
return f || $ || h /* support three options. */</lang>
 
===the CHANGESTR {(internal}) procedure source===
The following CHANGESTR program can be coded as is when the intention is to be an internal routine (function).
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.