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



On Wed, Dec 19, 2018 at 4:11 PM Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

When calling procedures, passing by value means that the actual data (i.e. 10 bytes in your case) is pushed onto the stack. When calling by reference (including Const parms) a pointer (16 bytes) is pushed on the stack.

Thanks, Jon. That makes sense, and it hammers home the point.

So, I did a little digging into whether XMLSERVICE supports
pass-by-value at all, and it does. But boy, it's ugly to actually use
it:

https://bitbucket.org/inext/xmlservice-rpg/issues/3/passing-variable-by-value

https://bitbucket.org/inext/xmlservice-rpg/src/master/test.byval/

As if the "standard" call syntax wasn't bad enough! I don't really
have words for the by-value call syntax. Well, not polite ones,
anyway.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.