[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
SQR and Bit Manipulation
- Subject: SQR and Bit Manipulation
- From: Dave Thorburn <thorburn@CONL.NET>
- Date: Tue, 30 May 2000 09:37:15 -0700
I have a client department that insists on receiving information
represented as bits within a one-byte field.
The values of eight one-byte flags are:
flag Value
------------------------
flag1 0
flag2 0
flag3 0
flag4 0 or 1
flag5 0 or 1
flag6 0 or 1
flag7 0 or 1
flag8 0 or 1
How do I get these values into a one-byte numeric field
as bits 0 - 7 (eight bit byte) ???
----------------
Sent from a WebBox - http://www.webbox.com
FREE Web based Email, Files, Bookmarks, Calendar, People and
Great Ways to Share them with Others!