[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Some strange addition rules



PureBytes Links

Trading Reference Links

Nigel,
no matter if we agree or not, Tomasz explained the use of {empty} and 
the NULL convention.
We should follow this convention and forget our common "logic".
[BTW, I just noticed I mixed apples and oranges in my previous 
message...]
DT
--- In amibroker@xxxxxxxxxxxxxxx, Nigel Rowe <rho@xxxx> wrote:
> I think we are going to have to agree to disagree here.
> 
> *I* take {Empty} (or N/A) to mean no information is available, so
> if I have 3 boxes (30+50+20) and "some other container that may or 
may not 
> contain some indeterminate number of apples", i *DON'T*  know how 
many I 
> have.
> 
> I will admit that, I *DO* know I have at least 100 items of fruit 
(apples or 
> maybe oranges), and can make some further assumptions based on 
that, but that 
> is what they are, assumptions.
> 
> *I* would much rather have AmiBroker say "you haven't told me what 
to assume 
> here, so I'm not going to assume anything", so I can put the 
appropriate Nz() 
> or IIf() in.
> 
> That way not only does AmiBroker know what I'm assuming, *I* know 
what I'm 
> assuming, because I've had to think about it.
> 
> Nigel (who assumes he knows what he's talking about)
> 
> 
> 
> On Thu, 6 Mar 2003 11:02 pm, DIMITRIS TSOKAKIS wrote:
> > {empty} simply means N/A, non available. From some point of view 
it
> > is equivalent to "not defined" and, consequently, any addition to 
a
> > not defined quantity will be N/A too, ie {empty}.
> > On the other side, the neutral element of the addition is 0 and 
one
> > could expect X+{empty}=X, since X is not empty, it exists and it 
is
> > irrational to be disappeared.
> > Two different points and some priorities in addition concept...
> > If you have 4 boxes and you add the apples, you would probably say
> > 30+50+20+0 if the last box was empty. Would you say "I can not sum
> > the oranges, because the last box is empty" ? Probably not...
> > The common sense, IMO, would count 100 oranges.
> > DT
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, Nigel Rowe <rho@xxxx> wrote:


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/