| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Bitwise |
Hi Simon, You asked: SA>Sorry... :) SA>Re that bitwise stuff I was having problems with. Still not 100% SA>clued up, and I was wondering if it was because the structures I'm SA>working to are Pascal if that alters the order of things? Not that I'm aware of. SA>David said 'normal' bit are right to left, is this true of Pascal SA>too? afaiaa. The bit order being right to left is a convenience for the programmer, how they are actually stored by the processor is not our concern. SA>Also, TCC flags a warning when parsing the structs - saying bits SA>should be signed or unsigned ints, when these are chars. Problem? Show us some code with the error please (just the structure and associated #defines should be enough). I suspect you are using an enumeration somewhere for the bits, and enumerations have to be ints. George * SLMR 2.1a * Computers eliminate spare time. --- Maximus/2 3.01* Origin: DoNoR/2,Woking UK (44-1483-717904) (2:440/4) SEEN-BY: 396/1 622/419 632/0 371 633/260 267 270 371 634/397 635/506 728 810 SEEN-BY: 639/252 670/213 218 @PATH: 440/4 255/1 251/25 2320/38 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™.