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



Just a quick question. I was reading on article on the web and it stated
that if I had a varying fields that what would get passed by VALUE would be
just the first two digits for the length and the actual length of the data.

It has always been my understanding if I had field that was 64K varying and
I passed it as a parameter that the 64K plus two (or four) bytes for the
length is what would be passed even I only had say 10 bytes of data.

Since a statement like InParm = *ALL'*'; is valid even though it would
never be seen by the caller, I don't see any other way it could work except
to the pass the entire length.

I can pass as *VARSIZE but only if a CONST or by reference or I can pass as
*STRING with an optional *TRIM which is what I have been doing lately.

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.