Stupid tot() question

Kenneth Brody kenbrody at bestweb.net
Wed Feb 25 18:36:43 PST 2004


"Jay R. Ashworth" wrote:
[...]
> > You always have 5 different values (assuming 3 break levels) for every
> > dummy field not declared in automatic.  The fact that TOT() makes this
> > more obvious to you does not mean the semantics have changed.
> 
> If all 5 copies of the variable have the same value, then, for my
> purposes (since filePro doesn't have pointers, and all 5 change
> simultaneously on assignment), then it's transparent to me.

If you are using the dummy field to accumulate values, then the
copies may not have the same value.

> The semantics are what they appear to be.  Particularly when what they
> *appear* to be is sane, even if the actual implementation is broken,
> which, based on your latest comment, it appears it is.

I see nothing broken.

Please show me how the following are different (assuming "ytd_sales" is
a real field):

    xx(16,.2) = xx + ytd_sales
    yy(16,.2) = tot(ytd_sales)

Please use specific examples, with actual data, rather than what you
feel they do.

Then explain how things are "broken".

-- 

+---------+----------------------------------+-----------------------------+
| Kenneth |     kenbrody at spamcop.net      | "The opinions expressed     |
|    J.   |    http://www.hvcomputer.com     |  herein are not necessarily |
|  Brody  |      http://www.fptech.com       |  those of fP Technologies." |
+---------+----------------------------------+-----------------------------+



More information about the Filepro-list mailing list