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



A candidate for an RFE - to officially support **FREE in position 1 of any line - I just saw something in the Cafe that there is a **ENDFREE or the like inserted after a /copy -

I think this would facilitate use of existing code with the new formatting very nicely!! An accident of side effects, methinks!

But I won't tell anyone!!

Regards
Vern

On 2/12/2016 2:27 PM, Barbara Morris wrote:
On 2/12/2016 10:31 AM, Vernon Hamberg wrote:
Birgitta - I think your description of fully-free does not match the
manual - here is the bit from the 7.2 ILE RPG Reference
...
As I read this, **FREE must be in line 1. The entire source text must fe
free-format. And any include member that is limited to columns 6-80 can
be included. That would be either fixed or free format.

Am I missing something? Or did Barbara change something since the last
post in RPG Cafe?


Due to the way SQLRPGLE code is compiled, where the precompiler creates a new source file with the copy files merged in, the compiler actually supports **FREE in the middle of the code.

The compiler can't tell that it was called by a precompiler, so it has to support code other than what is officially supported.

So we document that **FREE has to be in line 1.

RDI only supports having **FREE in line 1. If you have it anywhere else, it won't recognize the fully-free code.



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.