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



On Thu, 24 Mar 2005 14:13:35 -0600, Lim Hock-Chai
<Lim.Hock-Chai@xxxxxxxxxxxxxxx> wrote:
> I wish I can discuss more but got too many projects at hand.  ==> last post.
> 
> Wouldn't it be easier to just put in the F spec, which will be auto opened by 
> the program?  Let those files stay open until user exit the program (*inlr = 
> *on), which RPG auto closes them.
> Again, I don't see the advantage of having to populate the file handle 
> datastructure, passing it around, and probably have to check for null before 
> using it just in case something goes wrong.
> Again, RPG IO do those things automatically for you, why code them?

because once you call out of your program into another program or
service program you have to open the file again if you want to use it.
That could be a waste of resources.  But modularity is main reason.  I
dont want my procedures to interfere with each other.  That means no
globals and F spec files are all global.

-Steve

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.