Limited sets support
In Pascal, a set is a collection of elements of same type. The DWScript syntax currently supports only sets of enumerations, with the "in" operator, and the traditional Include() and Exclude() Pascal methods.
type
TMySet = set of (msFirst, msSecond, msThird);
var MySet: TMySet;
begin
// populate set with two states
MySet := [msFirst, msThird];
if msFirst in MySet then
Writeln('First');
Exclude(MySet, msFirst);
if msFirst in MySet then
Writeln('Never Shown');
end;