Thank you very much.
Yes, you are right, the type of the variable should be “logic”.
However, specifying “false” as the type of the variable does not cause a compile error. The error message also says “type false”.
I wanted to know if this is a compiler bug or not.