How to make arguments optional in a function?

Answer Posted / ramyab.mca@gmail.com

Hai.....

this is not possible as default VBS doesn't support this.
Instead you can pass a blank scring and have a default
value if arguments r not required.

K,Byeee...
Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?

1463


Brief the process of testing with UFT?

644


What are the recording modes in wave event?

1545


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

2061


How to modify object property in qtp ?

567






What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2271


Is qtp supports uni-code?

622


Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.

6668


What are the different properties of an web object

1434


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

2918


how do i know how to use tools

1460


Analyzing the checpoint results?

605


How to use debug tools?

2204


Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?

1235


Tell me about qtp?

544