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



/COPYBOOK, one of my offerings available at www.rpglanguage.com/copybook, does not consider members as fixed-form by default.

Regards,
John McKay mba
www.mckaysoftware.ie
www.rpglanguage.com

On 20/05/2011 16:10, Barbara Morris wrote:
On 2011/5/20 8:15 AM, Jerry C. Adams wrote:
I understand what you're saying. I wasn't quite clear enough. That's what
I meant. .-)
Or I wasn't reading carefully enough.

By the same token, any /free, /end-free directives in the /copy member would
have no effect when returning to the main program, right? That is, as I
understand you, whatever "free" state the main program was in before the
/copy will be honored after returning to the main program.

Right.

C x begsr
/copy subr
C endsr
/free
begsr y;
/copy subr;
endsr;

Any of these versions of the /copy file would work fine for either one
of the /copy statements.

// copy version 1 ending in fixed form
C seton 10

// copy version 2 ending in free form
/free
*in10 = '1';

// copy version 3 ending in fixed form due to /end-free
/free
*in10 = '1';
/end-free




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.