× 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 08 Aug 2013 15:11, Alan Campin wrote:
<<SNIP>> What you want is to have something like this encapsulated
inside a procedure or maybe better yet in a procedure in a service
program. The caller should just ask what the value related with this
value. How the procedure does it should be hidden. <<SNIP>>

I was thinking along those lines, but even if for some reason the /caller/ might want the actual array(s) vs just get an answer to some correlation. The effective initialization could be moved to a C-Spec as a prototyped function\procedure invocation. If either the literal values must be changed or a change is made from elements being set to the literal values to being obtained\set from elsewhere [e.g. perhaps to enable multi-lingual; obtained from a message file or ??], the procedure may be the only thing needing an actual source change and recompile; i.e. the caller can remain unchanged unless the interface changes.


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.