dim a as byte
dim b as word
dim s as string
dim m as MemoryBlock
a = a.SizeOf  'determine the number of occupied bytes of the variable "a" (=1)
a = b.SizeOf  'determine the number of occupied bytes of the variable "b" (=2)
a = tab.SizeOf 'determine the number of occupied bytes of the variable "tab" (=5)
a = s.SizeOf  'determine the number of occupied bytes of the variable "s" (=2)
a = m.SizeOf  'determine the number of occupied bytes of the variable "m" (=2)
'Note:
'a String-/MemoryBlock-Variable is a pointer to a memory object.
'this pointers are 16 bits wide, so 2 is returned.
data tab
  .db "hello"
enddata