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




I prefer using **Free over fixed. Seems wrong to code using features from the 60's like the cycle. That said I was a cobol developer before I was introduced to RPG. Even in COBOL there are standards that people shy away from. Theres something to be said about writting code that can be maintenanced by others. 
On Thursday, March 14, 2024, 12:45:18 PM CDT, smith5646midrange@xxxxxxxxx <smith5646midrange@xxxxxxxxx> wrote:

I completely disagree.

I've been doing RPG for about 30 years and I would MUCH rather have free as
opposed to fixed format.  There is just so much in free that is more
intuitive.  Complex calculations without needed temp variables to store
results, I/O with the key fields on the same line as opposed to searching
for the keylist to see what fields were used, etc.  And embedded SQL, so
much easier than lots of reads and chains when you have to access many
linked files.  I was also overjoyed when I didn't have to deal with stuff in
specific columns.  Those HI/LO/EQ indicator columns for I/O results were a
pain.

I just wished embedded SQL worked like the .NET languages where a failed SQL
is an error and I don't have to remember to check the return codes to see if
it succeeded or failed.  I constantly get bit by a failed but unmonitored
SQL in RPG.

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of James
H. H. Lampert via MIDRANGE-L
Sent: Thursday, March 14, 2024 11:59 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx>
Subject: Re: Visual Studio code convert to **free

On 3/14/24 8:32 AM, stefan@xxxxxxxxxx wrote:
WHAT  *WHY?!?*

Why would one WANT to convert RPG source to "/free" format? It seems like an
utterly pointless exercise to me. Why make one language look like another?
What I'd like to see would be a "Convert to Traditional Format" function.

Then again, I will note that back at CSU Long Beach, I was introduced to
CDC's cockamamie free-format version of FORTRAN. And I loathed it intensely,
and avoided it entirely.

I believe that programming languages should keep their character. Which is
why when in RPG, I not only avoid "/free," but still ride The Cycle whenever
it suits the task at hand.

--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.