Here facing some errors on Ordinal type required, please help me to check it out from the following code:
Extracted from comments:
Program Test;
{$APPTYPE CONSOLE}
Type
TResourceSet = set of 0..127;
var
N : TResourceSet;
i : Int64;
begin
i := 127;
N := N + [i]; // E2001 Ordinal type required
end.