|
That way, you can't change the parameter in your program.
YOU can't but your programme certainly can!.
Here's another one I can't get my head round.
I understand the difference between passing parameters by reference and by
value.
When we started ILE, the powers that be imposed on us the keyword CONST
systematically for all parameters destined to be used as input parameters.
That way, you can't change the parameter in your program. YOU can't but
your programme certainly can!.
Anyone else had this problem? What's the point of using CONST instead of
VALUE apart from performance issues? I'd say that if I see VALUE on a
parameter I'm sure that it wasn't intended to be changed in the procedure.
As an Amazon Associate we earn from qualifying purchases.
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.