How to make arguments optional in a function?



How to make arguments optional in a function?..

Answer / kotike

we can make arguments optional by using "Optional" keyword

ex: fucntion fun_name(a,b,optional c)

end function

Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More QTP Interview Questions

What is the difference between Client/Server application and Web application ?

2 Answers   ArisGlobal,


what is the hierachy of Descreptive programming?

3 Answers   Fiserv,


what is option explicit?

5 Answers  


Does QTP record on Objects created on XWindows Environment?

0 Answers   Infotech,


Can we select add ins in UFT during run time

1 Answers   NIIT,






In qtp what type of data tables are used , name and list out them

1 Answers   Polaris,


what is the test object?

1 Answers  


how i can get the value of label box , please any body tell me script of that code

1 Answers  


hi friends i was tried to connect qtp with oracle database using provider.i got a error.so anyone can help me out by correct script

2 Answers  


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

0 Answers  


What are accessibility check point and xml check point?

5 Answers   IBM,


hi study this carefully,WHO ARE TEACHING WITH THE HELP OF FLIGHT RESERVATION WINDOW...THOSE FACULTIES ARE VERY BAD...BUT WHO ARE TELLING WITH PROJECT ORIENTED MEANS(NOT FR WINDOW) DIRECTLY OPEN THE BANK WEB PAGES OR ANY OTHER REAL TIME WEB PAGES... BASED ON THAT WEB PAGES, FACULTY TEACH, IN THIS WEB PAGE WHEN UR USING QTP , WHEN UR USING MANUAL... WHERE UR WRITING THE SCRIPTS FOR THIS WEB PAGE.. .LIKE THIS ................THIS IS THE TEACHING FORMAT FOR QTP... 1ST U FIND OUT WHO IS FOLLOWING THIS TYPE OF FORMAT THOSE PEOPLES ARE .BEST FACULTIES AND JOIN THAT INST. THIS IS 100 % TRUEEEEEEEEEEEEE REMEMBER IT........ NOW ONWADS U HATE FLIGHT RESERVATION WINDOW ONLY REAL TIME WEB PAGES........... THAN KU

1 Answers  


Categories