TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: DAVID ROTHSCHILD
from: COR VAN DEN HOOVEN
date: 1998-03-09 21:09:00
subject: Individual bits

 On (08 Mar 98) David Rothschild wrote to All...
 DR>   How do can I read the individual bits that are inside a byte?
        ' 
-------------------------------------------------------------------
        ' $DYNAMIC
        DEFINT A-Z
        ' 
-------------------------------------------------------------------
        ' extract a bit from a byte
        ' 
-------------------------------------------------------------------
        SUB EXTRACTBIT (BYTE,BIT,VALUE)
            VALUE = (BYTE \ 2 ^ BIT) AND 1
        END SUB
        ' 
------------------------------------------------------------------
 Greetings from Apeldoorn, the Netherlands, Cor.
 cor.van.den.hooven@babysoft.xs4all.nl
... BASIC LIVES !
--- PPoint 2.05
---------------
* Origin: BABYSOFT +31-33-4656052 (2:283/548.30)

SOURCE: echomail via exec-pc

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