|
expression produces result. The result will need to somehow store somewhere in the memory, hence has an address/pointer. You don't see the result variable, but, I think the compiler will create one when creating the program object. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Kurt Anderson Sent: Wednesday, July 27, 2005 1:11 PM To: RPG programming on the AS400 / iSeries Subject: Procedure Parameter Passing - Processing Implications of Const When I define a procedure parameter as Const: 1. The caller passes a pointer to the procedure, which the procedure then interprets. 2. If I pass an array 32555A Dim(9000), it's no different than if I pass a 3i 0 field (processing-wise)? I question this because if I can pass an expression, there is no pointer to that expression... so what is it doing?
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.