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

Follow-Ups:

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.