Comparisons for numeric values in case/switch shorthand

Is it possible to use comparisons like > and < in a case switch syntax like this:

Test number is a number that varies. Test number is 3.
After reading a command:
	 if test number is:
	-- 0: say "0";
	-- < 4: say "less than 4";
	-- > 4 < 10: say "between 5 and 9";

Because, I tried stuff like the above, but inform says it doesn’t recognize phrases like “-- < 4” here in this syntax. Is this not possible, or what have I done wrong here?

You can’t do that. Instead, use an “if… else if… else if…” structure.