Undeclared variable gets compiled successfully? I was not aware of it. Can we turn this feature off? Option Explicit perhaps?
I do not want to make a mistake like this.
Dim TypeRequest as int
RequestType = 1
It will compile ok. Funny thing is I just noticed it today. I need to double check my spelling.
I do not want to make a mistake like this.
Dim TypeRequest as int
RequestType = 1
It will compile ok. Funny thing is I just noticed it today. I need to double check my spelling.
Last edited: