fpc/bugs/bug0163.pp
1998-09-18 20:09:02 +00:00

17 lines
362 B
ObjectPascal

Program test;
{ shows missing <= and >= for sets }
Type
Days = (Monday,tuesday,wednesday,thursday,friday,saturday,sunday);
Var
FreeDays,Weekend : set of days;
begin
Weekend := [saturday, sunday];
FreeDays := [friday, saturday, sunday];
If (Weekend <= Freedays) then
Writeln ('Free in weekend !');
end.