in reply to Elsif Clause Problem

You're using string compare operators.
"5" lt "20" is false.
5 < 20 is true.

I am slow.