Core Language

Phix has just five builtin data types:
        <-------- object --------->
        |                |
        +-number         +-sequence
          |                |
          +-integer        +-string
  • An object can hold any Phix data, specifically either a number or a sequence.
  • A number (aka atom) can hold a floating point numeric value, or an integer.
  • An integer can hold a single whole number (at least +/- 1,000,000,000).
  • A sequence can hold a collection of values, nested to any depth, or a string
  • A string can hold a series of characters, or raw binary data.