Whoops, I meant "get my head around _signed_ only bytes being in PureBASIC". I really should proof read what I type.
[Implemented] For people from C or wanting to convert from C
-
Hatonastick
- Enthusiast

- Posts: 149
- Joined: Wed Apr 27, 2005 11:50 am
- Location: Adelaide, Australia
- Contact:
[Implemented] For people from C or wanting to convert from C
unsigned and signed char(byte). Mind you this is easily gotten around by doing: byte & $FF. I guess I just have to get my head around unsigned only bytes being in PureBASIC so I'll stop getting caught out by it.
Essentially I have to learn to stop thinking like a C programmer. 
Whoops, I meant "get my head around _signed_ only bytes being in PureBASIC". I really should proof read what I type.
Whoops, I meant "get my head around _signed_ only bytes being in PureBASIC". I really should proof read what I type.