-=> Quoting David Williams to Bill White <=-
DW> I suspect there are a lot of people in this conference, many of them
DW> quite competent programmers, who neither know nor care about the
DW> Boolean AND function! It exists, but it isn't usually *thought of* as a
DW> very important aspect of BASIC.
It can really streamline your code at times. I love to use it when
testing for even or odd numbers, for example:
IF Number% AND 1 THEN 'odd
is much nicer than
IF Number% \ 2 Number% / 2 THEN
--- Blue Wave/DOS v2.20
---------------
* Origin: ...the vented spleen - kingston on (613) 544-9332 (1:249/139)
|