| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | More silly questions |
-=> Simon Avery wrote to All <=- [ bits numbered 0 through 7 ] SA> Say I want to modify bit 3, what would I do? SA> SA> struct MESSAGErecord mr; /* To set it: */ mr.Attribute |= 8; /* 2 to the 3rd power = 8 */ /* To unset it: */ mr.Attribute &= ~8; /* To test it: */ if (mr.Attribute & 8) ... ... Press any key... no, no, no, NOT THAT ONE! ---* Origin: * My Place BBS * Bowie, Md USA * V.34 * (301)805-1602 * (1:109/570) SEEN-BY: 396/1 622/419 632/371 633/260 267 270 371 634/397 635/506 728 810 SEEN-BY: 639/252 670/213 218 @PATH: 109/570 13/25 270/101 396/1 633/260 635/506 728 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™.