× 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.



I have a program that has two internally defined procedures.

Procedure #1 has two fields as input parameters, FIELDA and FIELDB, both defined as CONST. In Procedure #1, the two input fields are moved into two fields on a screen called SFIELDA and SFIELDB. If certain conditions are met, Procedure #1 calls Procedure #2. In Procedure #2, the two screen fields, SFIELDA and SFIELDB, are cleared. I noticed that the fields passed into Procedure #1, FIELDA and FIELDB are getting cleared at the same time. I put the program in debug and verified this.

How is this possible? First of all, I thought if a parameter to a procedure was defined as CONST, it couldn't be changed. I have searched through the program to make sure there were no datastructures, etc. that might be overlaying the fields and the DDS for the screen to make sure the procedure parameters are not defined on a screen.

Any advice and/or help would be greatly appreciated.

Thanks,

Robert

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.