3.4 Bit Strings and Binaries

A bit string is used to store an area of untyped memory.

Bit strings are expressed using the bit syntax.

Bit strings that consist of a number of bits that are evenly divisible by eight, are called binaries

Examples:

  1. 1> <<10,20>>.
  2. <<10,20>>
  3. 2> <<"ABC">>.
  4. <<"ABC">>
  5. 1> <<1:1,0:1>>.
  6. <<2:2>>

For more examples, see Programming Examples.