I want to set BYTE variables to certain binary values.
---
DIM Switches AS BYTE
Switches = b'01110111'
---
I was just writing my code and could not find this in the ref
books. Is this valid? If not, what is the best way. It makes
my code easy to read if I can use binary rather than a character.
Thanks,
TurboBoy
------------------
when things old are new again...making fast cars faster with PBDOS......
---
DIM Switches AS BYTE
Switches = b'01110111'
---
I was just writing my code and could not find this in the ref
books. Is this valid? If not, what is the best way. It makes
my code easy to read if I can use binary rather than a character.
Thanks,
TurboBoy
------------------
when things old are new again...making fast cars faster with PBDOS......
Comment