what is Option Implicit
Answers were Sorted based on User's Feedback
Answer / anna
Option Explicit has 2 values ON and OFF
deafult value is ON
-Option Explicit means - All the variables should be
declared before its use.
Else it shows error..it is a good practice to use this..
| Is This Answer Correct ? | 15 Yes | 2 No |
Answer / rupa
Option Explicit means - All the variables should be
declared before its use.
Else it shows error
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / prashant verma
it should be noted that implicit declaration is by default
you can change implicit deceleration to explicit deceleration
by typing "option explicit"
bt vice verse is not true
ie.. you cannot write "option implicit" in the code
it will raise error
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / senthilg
Instance of specific copy of a class with its own settings
for the properties defined in that class. Note: The
implicity defined variable is never equal to nothing.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / dhanasekar
Option Explicit is set to On, to declare the variable
compulsarily.
if u set it to off, the user who is going to read your
coding won't find it easy to know what type of variable it
stores. i.e int, float, string, var, etc.,
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / shital
option explicit means declare variable name before use it,
if we not give variable name that can show error .
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / 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 |
Answer / arka
Option Explicit On
-> x=X+1 'error
Option Explicit Off
-> x=X+1 'no error
option explicit off = option implicit (don't need to write that)
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / narendra chauhan
Variable declaretion is not required before use.
| Is This Answer Correct ? | 0 Yes | 1 No |
What does Query_unload event do in VB? Why we need Form _unload event?
What do you mean by Databound Controls Explain?
How would you add elements and pictures to listitems in listview control?
what are the Default cursor Type and LockEdit type in DAO?
What was introduced to Visual Basic to allow the use of Callback Functions?
Why API functions are Required?
How would you view html code in Active Server Pages?
what is the Difference between listbox and combo box?
what are the types of LockEdits in DAO?
What are the new events in textbox that has been included in VB ?
What is Centralization Error Handling?
Can you create a updatecascade, Deletecascade relation in Ms- Access? If no, give on eample.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)