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



How much is a lot?

I've tried wrapping my reads in a procedures, and I like the way the code
looked. The thing that made me abandon it was that it would be a lot of
trouble to write generic file IO procedures because of the way RPG sees file
names and the complexities introduced by keyed I/O.

I wouldn't say no to an inline keyword.

> -----Original Message-----
> From: Bob Cozzi [mailto:cozzi@rpgiv.com]
> Sent: Thursday, June 06, 2002 2:27 PM
> To: rpg400-l@midrange.com
> Subject: RE: Resetting %EOF
>
>
> Great idea Scott!
> But remember, there is a lot of overhead in a procedure call (relative
> to a straight, in-line opcode) so you will add to the time it takes to
> retrieve the database records; if that's an issue with the code, the
> you'd want to avoid wrapping it into a procedure.
>
> Ah, yet another reason why the INLINE keyword is needed on Procedure
> specs....
>
> Bob Cozzi
>
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.