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 are the new events in textbox that has been included in VB ?

1346


what are the Types of LockEdits in RDO?

1550


How can you get selected file from file system Control?

1536


How would you create properties by using class Builder Wizard?

2108


What is the use of command Object?What are the various types of variables?

597






What is shortcut menu and explain "The ole control's shortcut menu".

555


Which language is used in visual basic?

487


What is meant by Establish Connection in RDO?

1841


how to use telugu language in vb6? any unicode data is available for telugu or not?yes means how to use? my desired output is telugu only? i am doing project like(telugu calendar),my output should be print in telugu only? pls send me the solution with code?

2996


___,___ arguments will be used to run a executable program in shell function

1224


What are the Internet tools available in VB6.0?

2084


How would you attach pictures in column headers of List View Control?

1656


What is the use of property page Wizard in ActiveX Control?

1997


Is it possible to change menu runtime using API? If yes Specify the function names?

1462


How can you Implement windows functionality in VB?

1691