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



>From: Jim Langston <jlangston@celsinc.com>
>Date: Thu, 13 Dec 2001 12:19:09 -0800
>
>Okay, this looks to me like the things C does.
>You are telling your procedure to expect 32k of
>data as a constant length string.  In C this would
>be an array of char 32k long.
>
>Then you pass in an 128 string.  Again, esentially
>an array of 128 chars.
>
>When the procedure gets this, I believe it is just
>getting a pointer to your parameter.
> ...

Jim, the C thing you're thinking of is a char *
parameter, that is, a pointer to character, where the
pointer is passed by value.  The RPG equivalent of that
is a pointer passed by value, or a character variable
passed by CONST or reference.  What we're discussing
here is passing the character value itself by value,
loading all the bytes of the character value onto the
parameter stack.

Barbara Morris



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.