Samples:

[dw] as dword
[bstr,32] byteString, def could be used
[wstr,32] wideString - unicode - 2bytes
[b,asbool,def,0][bstr,3,hide] asboolean(checkbox), aligned to 4byte boundary, dw can be used here(ifOnlyOneBoolIsUsed)-that way it's already alligned

[dw,def,0] this is dword, default=0, note that upper(1st same dw) doesn't have 'def' so it's not initialized
[bstr,12,def,'some string']   <=max 12 chars with null terminated char included
[b,asbool,def,1][bstr,3,hide] <=checkbox, bstr aligns on 4byteBoundary(defaultForThisProg) - for this to work without bstr aligning either(1:use dw instead of b<-shownDown 2:specify 1byteAlignment on qboxfile-andInCompilerIfUsed)
[dw,asbool,def,1]             <=checkbox - no alignment necessary 4byte=default for this prog
[bstr,256,asfilesel,setwu,24,def,'']                                       <=file chooser
[dw,ascolor,def,0x00ee00]                                                  <=color chooser
[dw,ls,1,2,3,4]                                                            <=list chooser number
[bstr,8,ls,'one','two','three',def,'two']                                  <=list chooser string, note 8 instead of 6 to alignOn4Byte
[dw,ft,2,10]                                                               <=from/to, make in range min-max
[bstr,256,asdlgtemplate,aseditor]                                          <=qboxedit text editor - max 256-1 chars
[bstr,34,asdlgtemplate,asqboxedit,def,'[dw,def,2] [bstr,8,def,"astring"]'] <=qboxedit drawers options tweaker

This can be accessed in code by this kind'a pseudo-struct 4byte alignment:
#pragma pack(4)			//note: on some compilers it may work without this
struct QbStruct{
  dword dw;
  char  str1\[32];
  wchar str2\[32];
  bool b,b1,b2,b3;

  dword dw1;
  char str3\[12];
  bool bo,bo1,bo2,bo3;
  dword dw3;
  char ch\[256];
  dword color;
  dword dwlist;
  char lsstr\[8];
  dword ft;
  char editor\[256];
  char qboxeditor\[34];
}*pqbs;
#pragma pack()	//reset to default(usually 8)

Bits can used like so: dwbit while one after the other(sameType),ex: dwbit,1 dwbit,2 dwbit,3 in same dword, next dwbit,1 or b,1 starts new bit variable
Example(using < instead of squareBrackets, so it's a comment):
Bits: sentence ... byte <b> newDwBit1 <dwbit,1> ...byte <b> newDwBit1 <dwbit,1> sameDwBit2Last <dwbit,2> ...newDwBit1 <dwbit,1> ...sentence.