Chris - Not SEU - IBM have effectively frozen development for SEU.

Instead, how about submitting an RFE for a refactoring option for RDi? Or call it a menu option to sort the selected lines?

I know that TextPad and maybe other text editors have tools to sort a selection.

Regards
Vern

On 10/4/2018 5:35 PM, Chris Pando wrote:
I was looking at the first draft of a write up I did on use of the
XML-SAX opcode. We have local governments that export their database
in XML format. I wrote a first program to preface each piece of data
with all the tags preceding it. That allows the second program to know
which file, and data item within that file, correspond to the exported
data. I use those tags to do a lookup against the data's tags, to find
a procedure pointer pointing to the appropriate scrub routine.

https://code.midrange.com/7fb73ca711.html

I spend a lot of time doing a lookup against an unordered array, so, I
said to myself, wouldn't it be nice to have an SEU exit program that
would sort source records; I can sort the compile time array within
the source maintenance session.
Took the better part of the morning (I will never get a positive ROI),
but was fun, and I learned a little bit.

https://code.midrange.com/0baf2ba932.html

I'm posting this as much for future reference, as much as anything,
but there's some interesting code here

Chris

P.S. If we ever have an obfuscated RPG contest, I nominate the following:

$3 = @cond(@elem($I).cond).@arg(@cond(@elem($I).cond).@arg$)


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.