When and why do you use "OPTION EXPLICIT" in VB Script.
Is there any online help or something to learn the script
for Beginners?

Answer Posted / vaibhav patil

You can also force the explicit declaration of variables by setting the keyword OPTION EXPLICIT . The <%OPTION EXPLICIT%> statement must appear before VBScript command,otherwise it will be treated as an invalid statement and generate error.

For eg,
<%Language=VBScript%>
<%OPTION EXPLICIT%>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How often were they executed?

2030


iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com

1390


How to do call a output parameter from one action to another action??/

1866


can test automation improve test effectiveness?

1480


Explain sub procedure of vbscript.

581






How to explain a banking project in interview as a test engineer???

2589


When to use descriptive programming?

582


What will be happen if i load object repository at run time, but it has already associated.

1253


What are the types of object repository in qtp?

558


What is quick test pro? What is a quick test professional?

547


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

700


Whats the realtime QTP testing process

1984


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

1581


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1679


How to check bitmap output value?

621