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



Joel,

One benefit is the elimination of the file fields as global variables.  They
are now in a separate  module and you have to access them through some sort
of procedure.  It becomes more obvious when you use those variables and you
gain more control over their access.  If you have two files sharing the same
field names then you no longer have conflicts where a file read on one file
inadvertently updates the same field in the other file.  Another example is
an address.  I could create a procedure to set/get the address as a whole.
This prevents anyone from updating the city without also updating the street
address.  However, if the file I/O procedures are written to just return the
entire record from the file then, yes, there isn't much benefit.

Paul


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.