Subj : help!
To   : All
From : Chris Hoppman
Date : Mon Feb 23 2004 04:31 am

Was wondering what this is about.

b:boolean;
by:byte;
---

b := (by and 6 = 6);

---

I have it in two places in my com routines that I am tring to convert to asm
and don't really know how it goes about evaluating this experssion.  So, don't
know if I can convert it.

I saw in the help file.  If by = 6 then it's true/ if by <> 6 then it is false
and via versa, but what does = 6 at the end of it play.

I understand this.  b := (by and 6), but don't understand b:=(by and 6 = 6);

I havn't had time to do some test to figure it out and hoped for a quick
answer in this group.

chris

--- Renegade v02-12.4 - Alpha
* Origin: The Titantic BBS Telnet - ttb.slyip.com (1:129/305)