Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #866
| From | Chris Johnson <chrisjohnson+news@spamcop.net> |
|---|---|
| Subject | Re: Setting & Clearing flags and C/C++ operators... |
| Newsgroups | comp.sys.acorn.programmer |
| Date | 2011-10-10 14:40 +0100 |
| Message-ID | <522001746echrisjohnson+news@spamcop.net> (permalink) |
| References | <522000e1e6chrisjohnson+news@spamcop.net> |
| Organization | None |
To follow on. To set a flag one would use (e.g. bit 3 is the flag) flags | %001000 where | is the bitwise OR To clear a flag flags & ~%001000 where & is the bitwise AND and ~ is the bitwise negate -- Chris Johnson
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Setting & Clearing flags and C/C++ operators... Gazza <usenet@garethlock.com> - 2011-10-10 04:58 -0700
Re: Setting & Clearing flags and C/C++ operators... Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-10-10 14:34 +0100
Re: Setting & Clearing flags and C/C++ operators... Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-10-10 14:40 +0100
csiph-web