title: What Delphi type for 'set of integer'?
body: <p>I have several hardcoded validations like these:</p>
  
  <pre><code>const
    cLstAct      =  1;   
    cLstOrg      =  4;
    cLstClockAct = 11;
  const
    FUNCT_1 = 224;
    FUNCT_2 = 127;
    FUNCT_3 =   3;
  
  if lFuncID in [FUNCT_1,FUNCT_2,FUNCT_3] then ...
  if not (lListType in [cLstAct..cLstOrg,cLstClockAct]) then ...
  if not (lPurpose in [0..2]) then ...
  </code></pre>
  
  <p>that I want to replace with a common method like</p>
  
  <pre><code>function ValidateInSet(AIntValue: integer; AIntSet: @@@): Boolean;
  begin
    Result := (AIntValue in AIntSet);
    if not Result then ...
  end;  
  </code></pre>
  
  <p>but what type to choose for <code>AIntSet</code>?</p>
  
  <p>Currently the values to be tested throughout the code go up to a const value 232 (so I can e.g. use a TByteSet = Set of Byte), but I can foresee that we will bump into the <code>E1012 Constant expression violates subrange bounds</code> when the constant values exceed 255.</p>
  
  <p>My Google-fu fails me here...</p>
  
  <p>(Currently on Delphi Seattle Update 1)</p>