mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 01:19:35 +02:00
17 lines
362 B
ObjectPascal
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.
|