Joy said:
Option Explicit Off
Module Module1
Sub Main( )
Dim i As Integer
Dim b As Boolean
x = 50
End Sub
End Module
Pls give me the ans? ......
Thank YOu
You didn't ask, but...
Option Explicit Off is just a BAD idea. Sooner or later you'll heartily
regret this choice while you try to debug all sorts of bizarre issues that
*should* have been caught by the compiler as simple syntax issues.
Your implicit declaration of x (type Object as default) causes your
application to do extra work doing behind the scenes, making it inefficient.
In a trivial bit of code, like your example, it may seem harmless from a
performance standpoint. Do it in a real application and you'll feel the
pain.
Post back with your questions.