var MyValue: integer; ... case MyValue of Low(Integer)..-2: beep; -1: beep; 0: beep; +1: beep; 2..High(Integer): beep; end;