× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



That was the key. The field I was trying to view was not used in the
program, so I added a line to the code to save it to a work field, then
the value displays.

Thanks a ton for the tip. I do not think I will forget this soon.
Amazing how fast you can debug a program when you have field values!

Dave 


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of smorrison@xxxxxxxxxxxxxxxxxxx
Sent: Thursday, January 18, 2007 12:31 PM
To: Midrange Systems Technical Discussion
Subject: Re: rpg debug issue

When I do an EVAL to display some field values, they are
blank or zeroes when I know they should have values. Other
fields contain correct values. What could cause this to happen?

Are the blank fields modified in the program? If the fields are not
used
in the program, the compiler often optimizes the code so that unused
fields are not available for the debugger.



***********************************************
PRIVILEGED AND CONFIDENTIAL:
This communication, including attachments, is for the exclusive use of the 
addressee and may contain proprietary, confidential and/or privileged 
information. If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited.  If you are 
not the intended recipient, please notify the sender immediately by return 
e-mail, delete this communication and destroy all copies.
***********************************************



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.