TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Gary Chambers
from: Rob Landley
date: 1995-02-12 23:30:20
subject: Borland Boolean

> I would expect NORTH/EAST if bNorth == 1 and bEast == 1;  This is the case,
> but the output was SOUTH/WEST.  As I said, this isn't the only time I've
> seen this. Any suggestions?

Fiddle with the "treat enums as ints" setting in the project file?

Just the first thing that popped into mind.  I don't use boolean variables.
 I have a "flag_table" class for large bit arrays, and when I
just need one a boolean takes up a full byte anyway...

Rob
 
--- Xblat
* Origin: The Conversation Pit. Marlton, NJ. 609-985-7553 V32bis (1:266/30)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 955 712/515 713/888 800/1 7877/2809
@PATH: 266/30 40 100 505 3615/50 229/2 12/2442 711/409 808 809 934

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™.