On Mon, 19 Dec 2022 16:29:37 +0000, Seymour J Metz wrote: >In REXX, a decimal number *IS* a string. > Yes. Trying the following instruction might be informative: say c2x( 10 ) c2x( '10' ) c2x( "10" )
> ... The semantics for the first parameter of STORAGE is the same on every > REXX implementation that I have used. > >For hexadecimal arithmetic, try something like FOO = D2X ( X2D(BAR) + X2D(BAZ) >) > The very brief section in the TSO/E Rexx User's Guide, "Using the STORAGE Function" would benefit from a *tested* example of using STORAGE() to follow a chain of control blocks. Such as: P = STORAGE( addr, 4 ) NEXT = STORAGE( C2X( C2D( P ) + OFFSET ), 4 ) /* Untested! */ The comment, "be sure that the values for REXXSTRF is ENABLE" seems most plausible. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN