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

Re: [amibroker] numeric values in boolean expressions



PureBytes Links

Trading Reference Links

Hello,

Yes they can.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Steve Davis" <sdavis@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, February 10, 2003 8:12 PM
Subject: [amibroker] numeric values in boolean expressions


> Can numeric values be used in a boolean expression?
> For example, are the following two lines of code equivalent?
> 
> fromLongToShort = (yesterdayLongPercent > 0 AND todayShortPercent > 0);
> fromLongToShort = (yesterdayLongPercent AND todayShortPercent);
> 
> I am unable to try a quick test at the moment.
> 
> Thanks,
> -Steve
> 
> 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/ 
> 
> 
> 

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/