Qbasicnews.com
Qbasicnews.com
>
General
>
General/Misc
> Request for bit fields
Full Version:
Request for bit fields
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
wallace
01-20-2007, 05:07 AM
Maybe something like
Code:
Type Foo
a as bitfield * 12
b as bitfield * 3
c as integer
d as bitfield * 1
End Type
stylin
01-21-2007, 09:09 AM
Bitfields already supported, but cannot be split up like that:
type T field = 1
a : 12 as ushort
b : 3 as ushort
c : 1 as ushort
d as integer
end type
Qbasicnews.com
>
General
>
General/Misc
> Request for bit fields