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 descriptiveprograming? how to do object identification thrugh Descriptive and is possible smart identification or not

5 Answers   Syntel,


what are the mandatory properties in qtp? what are the library functions in qtp?

3 Answers   Wipro,


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

0 Answers  


How to Run a Test using QTP?

1 Answers  


How to Test the mainframe application?(tell me few basic things)

1 Answers   Covansys, IBM, UST,






regular expression in qtp standar check point for months from accepting months from january to december only

0 Answers  


Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

0 Answers   AppLabs,


Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,

0 Answers  


what is the extension of new local object repository?

5 Answers  


difference between waitProperty & Checkproperty

4 Answers   AON,


How does qtp recognize objects in aut?

0 Answers  


what are recovery management techiniques?

2 Answers   BirlaSoft, GL Noble Denton,


Categories