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



Dennis,

Of course, you could pass the line length and DIM values into compressArray
- then you wouldn't monkeying with global variables, you'd just be calling
it as e.g.:

compressArray( %addr(line) : %len(line) : %elem(line) );

Frankly, that would be quite a nice little procedure - one to add to the ole
toolkit...

Rory

On Tue, Apr 26, 2011 at 6:34 PM, Dennis Lovelady <iseries@xxxxxxxxxxxx>wrote:

OK, I had missed that. Sorry. But as promised....

I did not get around the double loop as I had thought to do originally, but
I hope it demonstrates the possibilities and efficiencies of the approach.
Also, this violates my standard of not monkeying around with global
variables within a procedure without notice. But for the sake of
demonstration, I give you: http://code.midrange.com/e38eb36856.html

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady


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.