Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is use of optionexplicit in variable declaration

Answer Posted / aa

If we don't use it, we can declare variables in vbscript
without declaring them in advance.
Ex:

option explicit
a=10

This throws an Error.

If don't use... Option explicit
a=10
doesnot throw an error.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Your roles and responsibilities and daily tasks? (As automation tester)

3030


QTP script is not working on other's machine..

1927


How to save your test using quicktest professional?

981


what is object and child object.. explain ..if possible give some example for better understanding ..

1934


There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code

1651


Explain the views in the QTP GUI?

998


What is ‘object spy’ and what is the function of object spy in qtp?

1019


How to analyzing the checpoint results?

984


How do client side image and server side image work?

1772


How you can replace string in qtp?

1005


How will you compare keyword and expert view?

885


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1820


What is the use of running the scripts in Hidden-mode in UFT?

1171


What is smart identification in QTP?

1009


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

2178