C
crain
hi
what is the optiion strict used for anybody give me an example?
what is the optiion strict used for anybody give me an example?
It forces you to write type strict code and avoid late binding.
For example, without option explicit you could write code like:
Dim a As Integer = "1234"
With option explicit on, you can't do that, you would have to write:
Dim a As Integer = CInt("1234")
* "crain said:what is the optiion strict used for anybody give me an example?