Why do we use Option Explicit?

Answer Posted / farah

If we declare variables in option explicit and if
undeclared variabled are used in the code then it displays
error messages

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

2109


How to assign a date value to a variable?

790


If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

1790


Explain a few date functions in vbscript

766


What is the use of the recordset object and which statement is used to create such an object?

769


How will you release the memory acquired by an array variable in vbscript?

997


How to create a function in vbscript?

848


Why is it recommended to close the database connection every time after the work is completed?

718


Is VB Script Case sensitive or Case insensitive?

854


Which operator is used to concatenate the 2 values in the vbscript language?

791


What is the scope of a constant declared using public?

753


What is byref and byval parameters in vbscript?

830


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1136


how to increase the values in text box in a given text box increament by two values by clicking on button

1883


What are the advantages of vbscript?

862