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

What is the difference between vb debugger and the script debugger?

833


what is diff between static and dynaic arrys?

1855


Compare java script and vb script?

866


Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?

2840


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

960


What is dictionary object in vbscript? Explain?

893


who will create the object?

1768


Can u describe what kind of testing are for OTC derivates by banks.

1913


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

737


1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

1792


Difference between dim,public and private variables in vb script?

771


Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com

1300


What is the difference between function and procedure?

904


filter the array values without using filter function?

1915


Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards

2496