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



My shop is also one of those shops that uses a 2-char prefix on all field
names, not only from PFs but from display files, internal work variables,
ICF files and print files as well.

I completely agree with you about dropping the prefix having it's own
set of problems.  In fact, I'd say that it has too many problems to make
it useful to me.

A *MUCH* better solution would be to have a way of telling EVALC to
ignore the prefix only for the action of copying from one data structure
to another.

The idea is that the fields retain their original names throughout the
program, and the first two letters (or whatever) are dropped ONLY for
the purposes of matching up which fields are considered "corresponding"
by the EVALC op-code.


On Thu, 22 Aug 2002, Richard B Baird wrote:
>
> on the other hand, using some sort of drop-prefix has it's own set of
> problems.  once you drop a prefix, then all fields from different files get
> changed if one gets changed - whether you intend it to or not - which
> negates the need for a move-corresponding, again, unless you use prefix()
> and qualified at the ds level instead of the file level, and do the move to
> datastructure after read and back before update.
>



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.