include()

The include() system function will add a value to a Set type variable, in Oxygene.

type
  Colors: Colors = set of Color;

var c := [Color.Red, Color.Blue];
include(c, Color.Green);

See Also