PureBytes Links
Trading Reference Links
|
Yuki,
It is legal to ignore. It is also legal [and free] to learn.
[I don´t remember if it is easy]
Sympathy for the specialists, sometimes we forget to explain
[Einstein did it all the time!! He used to disappear from Princeton
classrooms, he was hiding into some near elementary or preliminary
school to explain their maths and enjoy with them advanced physics
together with ice creams]
So,
Boolean
SYLLABICATION: Bool·e·an
ADJECTIVE:
1. Of or relating to a logical combinatorial system treating
variables,
such as propositions and computer logic elements,
through the operators AND, OR, NOT, and XOR:
a browser that supports Boolean searches.
2. Of or relating to a data type or variable in a programming
language
that can have one of two values, true or false.
ETYMOLOGY: After George Boole.
Boole, George
DATES: 1815–1864
British mathematician and logician who developed a calculus of
symbolic logic.
Examples
The
var1=MACD()>=Signal();
is a boolean variable, it is equal to 1 or 0, as long the relation is
true or false.[Important note : var1 can not be 1.35 or -264.07, it
is *always* 1 or 0]
The
var2=dayofweek();
is not Boolean, it may be 0, 1, 2, 3, 4, 5, 6
*but*
the
var3=dayofweek() == 2
is Boolean, it is true or false and the value of var3 is 1[every
Tuesday] or 0 [the other days of the week]
You should understand these *strange* things when you deal with T/A
softwares.
Dimitris
--- In amibroker@xxxxxxxxxxxxxxx, Yuki Taga <yukitaga@xxxx> wrote:
> Hi Tomasz,
>
> Wednesday, July 16, 2003, 3:54:01 PM, you wrote:
>
> TJ> Actually Buy and Sell variables should be BOOLEANs.
>
> That's the problem with you programmer types. You don't realize how
> many people there are in the world who don't know a Boolean from a
> Ballerina.
>
> Best,
>
> Yuki
>
> mailto:yukitaga@x...
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/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
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|