exclude()

The exclude() system function will remove a value from a Set type variable, in Oxygene.

type
  Colors: Colors = set of Color;

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

See Also