Is it possible to pass optional argument to function in vb
script?

Answer Posted / george

Yes, it is possible to pass optional parameters to vb
script functions.

It could be done as done in vb by qualifying optional key
word.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

1614


write any ttest cases using check points and parameterization

1814


What is the scope of a constant declared using public?

557


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

481


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

1660






how to increasing the numbers in a given text box please write a vb script

1698


What is sql loader? Explain the files used by sql loader to load file?

620


Explain the arrays in vb script?

585


Why is the use of exit do or exit for statements within loops discouraged?

565


does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

2502


Difference between dim,public and private variables in vb script?

525


How to write VB script for login module?

2675


while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

1565


Mention what is the main difference between function and sub-procedure?

544


What is the difference between function and procedure?

569