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

Explain Default cursor Type and LockEdit type in DAO?

789


What is the need of tabindex property is label control.

1513


What is Pseudocode?

1012


Is there any way to pass a variable to a form apart from using global variables?

1175


What is file in vb?

579






How would you attach an ActiveX control in Your Application?

1689


What is the difference between change event in normal combobox and dbcombobox?

1890


What do you mean by provider?

1537


Why visual basic is used?

636


What is meant by Establish Connection in RDO?

1925


How would you create your application in DHTML?

1618


How do I remove/change the picture property of a control at design time?

1194


How do you avoid the "Invalid use of null" error when reading null values from a database?

1224


What is the difference between adodc and adodb in vb?

590


How can I create a VBX?

1189