Sorry [] is used to represent a list of values.
-Matt
On Oct 17, 2017, at 2:27 PM, Greg Wilburn <gwilburn@xxxxxxxxxxxxxxxxxxxxxxx<mailto:gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>> wrote:
Matt,
In never used those expressions in the other debugger.
My array is named "OR2"
I tried typing the following in the monitor popup:
OR2[1..5] :[C]
I get "CPF7E2E Incorrectly formed range expression"
What am I doing wrong?
Thx,
Greg
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Tyler, Matt
Sent: Tuesday, October 17, 2017 3:39 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx<mailto:wdsci-l@xxxxxxxxxxxx>>
Subject: Re: [WDSCI-L] How to see *HIVAL in debug
Use the monitor expression popup then key in "array[x..y] :[C|X] [len]" just like you would in the green screen debugger where x is the beginning array element, y is the end, C is show characters and X is show hex and len is the number of hex characters to show.
-Matt
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Greg Wilburn
Sent: Tuesday, October 17, 2017 1:33 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx<mailto:wdsci-l@xxxxxxxxxxxx>>
Subject: Re: [WDSCI-L] How to see *HIVAL in debug
Dave,
Thanks for the suggestion... but I can only do that on the entire array, then I cannot see the individual elements.
Hex is not an option on the elements.
I wonder if this has this been brought up before?
Greg
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of dlclark@xxxxxxxxxxxxxxxx<mailto:dlclark@xxxxxxxxxxxxxxxx>
Sent: Tuesday, October 17, 2017 3:11 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx<mailto:wdsci-l@xxxxxxxxxxxx>>
Subject: Re: [WDSCI-L] How to see *HIVAL in debug
"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx<mailto:wdsci-l-bounces@xxxxxxxxxxxx>> wrote on 10/17/2017 02:43:35 PM:
Obviously working with some older code that is using bunches of
arrays... All of them are initialized to *hival. In the green screen
debugger, you can "see" these values as highlight or reverse image.
But I noticed RDi displays blanks and *hival the same - makes for
difficult debugging.
Any suggestions?
Put the variable in the monitor view and then right-click it to change the format to hexadecimal.
Sincerely,
Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300
Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331
*********************************************************************************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary information. If you have received this message in error, please immediately notify the sender and delete and destroy the message and all copies. All unauthorized direct or indirect use or disclosure of this message is strictly prohibited. No right to confidentiality or privilege is waived or lost by any error in transmission.
*********************************************************************************************
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx<mailto:WDSCI-L@xxxxxxxxxxxx> To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx<mailto:WDSCI-L-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx<mailto:WDSCI-L@xxxxxxxxxxxx> To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx<mailto:WDSCI-L-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx<mailto:WDSCI-L@xxxxxxxxxxxx> To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx<mailto:WDSCI-L-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx<mailto:WDSCI-L@xxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx<mailto:WDSCI-L-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.