Thanks Charles.
Anyway, I was thinking, that if A is a string and I insert 0 (zero) in the INPUT, the condition
IF A = "0"
must be true, otherwise there is a problem. Do not you agree?
The solutions you mentioned are good, but they should not rule out the possibility of taking the test I indicated.
-- Could it be possible that my version of Window will output a compile that produces this error?