........................................... rexxtry.rex on WindowsNT
X. = "Preset"
........................................... rexxtry.rex on WindowsNT
DROP X.42
........................................... rexxtry.rex on WindowsNT
Null = ''
........................................... rexxtry.rex on WindowsNT
X.Null = "Empty!"
........................................... rexxtry.rex on WindowsNT
call SysDumpVariables
Name=X., Value='Empty!'
Name=FOO, Value='123,456.78'
Name=NULL, Value=''
Name=VERSION, Value='REXX-ooRexx_4.2.0(MT)_32-bit 6.04 22 Feb 2014'
Name=INPUTRX, Value='call SysDumpVariables'
Name=SOURCE, Value='WindowsNT COMMAND C:\Program Files (x86)\ooRexx\rexxtry.rex'
Name=PROCRX, Value='rexxtry.rex'
Name=ARGRX, Value=''
Name=REMINDRX, Value='Enter 'exit' to end.'
Name=RESULT, Value='0'
Name=CONDITION, Value='a Directory'
Name=SYSRX, Value='WindowsNT'
Name=SECONDARY, Value='Nonnumeric value ("123,456.78") used in arithmetic
operation'
Name=TRACE, Value='Off'
Name=SIGL, Value='160'
Name=CURRENT, Value='call SysDumpVariables'
Name=SAVE, Value=''
Name=POSRX, Value='44'
Name=TEMPRX, Value=' rexxtry.rex on WindowsNT'
Name=BORDRX, Value='........................................... rexxtry.rex on
WindowsNT'
Name=PROMPTRX, Value=''
Name=PREV, Value='SysDumpVariables'
Name=SIGLRX2, Value='160'
Name=RC, Value='X'
Name=HELPRX, Value=' Or '?' for online REXX help.'
........................................... rexxtry.rex on WindowsNT
say result
0
________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of
Paul Gilmartin <[email protected]>
Sent: Wednesday, February 16, 2022 3:33 PM
To: [email protected]
Subject: Re: Rexx routine to dump all variables when debugging?
On Wed, 16 Feb 2022 17:50:32 +0000, Seymour J Metz wrote:
>It reports the compound variable but not the stem.
>
How does it report the DROPped member?
How does it report the member with the null string tail?
From: Paul Gilmartin
Sent: Wednesday, February 16, 2022 12:30 PM
For complete debugging, Rexx presents a challenge. How should DUMP
(STEMPUSH, STEMEDIT, ...) report:
X. = "Preset"
DROP X.42
Null = ''
X.Null = "Empty!"
(What does oorexx function SysDumpVariables do?)
--
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN