PureBytes Links
Trading Reference Links
|
Bob,
OK it is (due to speed optimizations).
But it does not change the fact that 50 is treated as TRUE -
therefore logical OR gives expected result.
OR is a LOGICAL operator and as such its specification covers
logical (boolean) result. It does not really matter if TRUE is
represented as 1, 2, 50 or 384827345 or -44.
ANY non-zero value is treated as TRUE while zero is treated as FALSE.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Bob Jagow" <bjagow@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, May 08, 2004 8:28 PM
Subject: RE: [amibroker] Re: Multiple numeric variables
> Not? Try
> ------
> a=(50 OR 20 OR 30);
> Plot(a,"a",9);
> Plot(RSI(a),"r50",7);
> -----
> Bob
>
> -----Original Message-----
> From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
> Sent: Saturday, May 08, 2004 10:02 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Re: Multiple numeric variables
>
>
> Hello,
>
> >Just why on earth (50 OR 100 OR 150) would be 50 is what escapes me.
> It is NOT.
> See my original response to you.
>
> (50 OR 100 OR 150)
> is the same as (TRUE or TRUE or TRUE)
> and evaluates to TRUE (=1)
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "Yarroll" <yarroll999@xxxxxxxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Saturday, May 08, 2004 4:53 PM
> Subject: Re: [amibroker] Re: Multiple numeric variables
>
>
>
>
>
> 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
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> 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
> Yahoo! Groups Links
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->
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
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|