if x=y or z or .....

From: Mark Ashley (priv_at_te.com)
Date: 12/29/04


Date: Wed, 29 Dec 2004 20:59:21 +0000 (UTC)

Hi there

Is it possible to express the following statement in Delphi 7:

if x=1 or 2 or 4 then begin
.
.
.
end;

so the code within the if statement is executed if x equals 1, 2 or 4?

Thanks
Mark