Qbasicnews.com

Full Version: Request for bit fields
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Maybe something like

Code:
Type Foo
   a as bitfield * 12
   b as bitfield * 3
   c as integer
   d as bitfield * 1
End Type
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