TIP: Click on subject to list as thread! ANSI
echo: pascal_lessons
to: All
from: Chris Hoppman
date: 2004-02-23 04:31:08
subject: help!

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)
SEEN-BY: 633/267 270
@PATH: 129/305 379/1 396/45 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.