Ce16(), Ce32()

Ce16() converts a 16 Bit Integer, Ce32() a 32 Bit Integer, from Littleendian to Bigendian and vice versa. The byte order is reversed. Same function as the object method .Reverse for data type Integer, Word and Long (see typkonvertierung). Syntax: word = Ce16(a as word)
Syntax: long = Ce32(a as long)


  dim a as word
  dim b as long
  a = Ce16(a)    ' Output: 0x2211
  b = Ce32(b)    ' Output: 0x44332211