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

Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.

1426


For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

1747


How to create a function in vbscript?

579


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 ?

1551


Explain the scope of the variables using dim, public, and private keywords respectively.

715






What is the difference between vbscript and vba?

598


What are keywords in the vbscript language?

516


Mention what is vbscript procedures?

534


What is the difference between VBScript and JavaScript?

2048


How to pass argument by reference to a function in vbscript?

533


What is the use of option explicit statement?

579


What is the use of the instr function?

576


What is the difference between a dictionary and an array?

572


Explain the constants in vbscript?

559


Mention what is the technology used by vb script?

517