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



Ah, APL - a write-only language!

But it's still in use in the insurance actuarial field.



On 9/2/2015 3:12 PM, Joe Pluta wrote:
I take it you never coded APL? A primary point of pride amongst APL programmers was the ability to code an entire program on a single line. :)

Vern, am I to understand that, with an upcoming TR, the RPG compiler will
recognize source statements that are 32000+ characters on a single line?

The mind boggles. The question is, how many are at least going to test
this by creating a 32766 long source file and and writing one line of code
that goes to the end? Be honest! I know I'm going to try it.

- Dan

On Wed, Sep 2, 2015 at 8:27 AM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:

To reply further to Justin on the record length - length of 112 means
there are 100 characters available - but only positions 8-80 are available
for code - 81-100 are for comments.

A source file with 80-character data is actually 92 long, the default.

PDM has a limit of 240 characters that it can process, which is a record
length of 252. CTRSRCPF allows record lengths up to 32,766 which CAN be
edited in RDi and for the full length in the new regime. Before the change
upcoming, even with a longer record, only positions 8-80 could be used for
code.

Good things happening!!
Vern




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.