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



Thanks, Barbara - I kind of remembered that but wasn't sure after EOD!

This makes it really much viable in CL.

Regards
Vern

On 3/3/2021 12:27 PM, Barbara Morris wrote:
On 2021-03-02 6:13 p.m., Vern Hamberg wrote:
Yeah, it looks like the 2nd parameter might have to be BYVAL, as it is declared as int in the H source file in QSYSINC. When did BYVAL come into play in CL?


The API has OS linkage (which means it's a program call), so even though the parameter is just "int", it would still be passed by reference.

From QSYSINC/H QWDRSBSD
#ifdef  __ILEC400__
      #pragma linkage(QWDRSBSD,OS,nowiden)
#else
      extern "OS"
#endif
void QWDRSBSD(void *,           /* Receiver variable */
              int,              /* Length of receiver variable */
              char *,           /* Format name */
              void *,           /* Subsystem and library name */
              void *,           /* Error code */
              ...  );           /* Optional Parameter:



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.