I have a function which is being passed an integer value, representing a step value. There are 5 seperate conditions I want to test for: Value =0 Value =1 Value =-1 Value >1 Va
var MyValue: integer; ... case MyValue of Low(Integer)..-2: beep; -1: beep; 0: beep; +1: beep; 2..High(Integer): beep; end;