|
1. Is there any difference between what is generated at a low-level (W-code
or whatever) for "A = A + B" and "A += B"? I assume not, and that the
difference is merely in the RPG, but I don't know whether the compiler can
make any optimization based on the second example.
2. If one uses %Trim on a left-adjusted field (so there are no left spaces
to trim), what's the actual run-time overhead? I'm guessing there are a
couple of lines of code which get executed, but it can't honestly be much,
can it? Sure, there's still the right-trimming to be done, but is there a
noticeable difference between using %Trim and %TrimR on a left-adjusted
field,
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.