program dave3;

  type
    integer_options = (max_untyp, mxstarts, nfuncmax);
    array_options = array [integer_options] of char;

  const
    imn = array_options [max_untyp : 'u'; mxstarts : 'r'; nfuncmax : 'n'];

  var
    lt : char = 'r';

begin
  case lt of
    imn[mxstarts] : WriteLn ('OK');
    otherwise       WriteLn ('failed')
  end
end.
