Why do we use Option Explicit?

Answer Posted / veena

vb supports a datatye called variant which can store any
interger,variable,float..by using option explicit it will
not allow the variables to declare implicitly.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to check whether link is disabled in QTP??

5628


How will you convert a string to upper case string using vbscript?

548


What are the different types of loops available in the vbscript language?

526


What is event handling in vbscript?

593


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

1566






How can constants be declared in the vbscript language?

546


Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1544


How are values assigned to the variables in the vbscript language?

567


Explain about adodb.stream class?

587


Does VB/Win make standalone .EXE files?

2895


Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).

1439


What is sql loader? Explain the files used by sql loader to load file?

614


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

2487


How will you convert a given number to long in vbscript?

487


Explain about scrrun.dll?

527