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



Hopefully before long we'll have a good replacement for XMLSERVICE.

It served its purpose but was always a hack job (in the best sense of the word). Ranger did a fantastic job getting it running - but his coding style is "somewhat unique" and that makes it difficult for others to maintain/enhance it. I tied to make s few changes some years ago and spent so much more time scratching my head than coding that in the end I gave up.

With any luck in the replacement we can dump (at least optionally) the XML aspect. It is overkill for the purpose and adds a level of complexity.



Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Dec 19, 2018, at 5:05 PM, John Yeung <gallium.arsenide@xxxxxxxxx> wrote:

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.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


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.