what is Option Implicit

Answer Posted / prashant verma

suppose we have declare X as a character.
now if we use x instead of X(capital letter) accidentally
then vb will not raise any error because x get declared as
variant(a default data type) implicitly
option implicit is used for that
bt if we want vb not to declare implicitly then we use
Option explicit
ie.. the vb will raise error

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is executenonquery in vb net?

517


With in the form we want to check all the text box control are typed or not? How?

1552


Difference between Linked Object and Embedded Object?

1796


How do I create a new form in visual basic?

526


It possible to call OLEDB?s Features directly in VB without using any control?

1618






What is form in visual basic?

533


How would you activate animation control?

1460


what are the Types of LockEdits in RDO?

1558


Which type of object requires this object?

1589


What is instantiating?

1626


Why can't I use an index with my VB accessed database?

995


What is meant by Establish Connection in RDO?

1687


Explain about trees structures work.

625


What are the rules which should be followed while naming a variable in VB?

556


What is meant by building a recordset.

610