In other languages the IF state rests fir a deterministic truth has has one meaning.
In BATCH, the error level is more like a maybe test.
I is like asking "How bad was the error?" The answer might not be a direct specific answer. Instead, it rates the error on a scale of bad to worse.
Here I am not going to use exact syntax. The is not the point.
Q. "Hey batch, how bad was the error. As much as a one?
A. if error-level = 1 "Yeah, I can say that it would be.
Q. "Hey batch, how bad news in error. As much as a two?
A. if error-level = 2 "Yeah, I can say at least a 2.".
Q. "Hey batch, how high was the error. Maye a three?"
A. if error-level = 3 "I will say thee, if not more."
Q. "Hey batch, did you get error. Up to four?"
A. if error-level = 4 "Four for sure, less I don't see."
Get it? Read over the examples is samples in the tutorials.
BATCH is not like any other task control tool.