Hi all..I have two values. a=20 ,b=30
I want to perform c= a+b and c= a*b using user define
function.please anyone give the answer
Answer Posted / prathyusha
Res=Add (20,30)
msgbox Res
Function Add (a,b)
c=a+b
Add=c
End Function
Res1= Mul (20,30)
msgbox Res1
Function Mul (a,b)
c=a*b
Mul=c
End Function
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is the difference between modular and data and keyword driven framework
How to delete a cookie using vbscript?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
How to write VB script for login module?
How to access array data?
We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?
Can u describe what kind of testing are for OTC derivates by banks.
Which in-built function is used to format the number in the vbscript language?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
What purpose does ‘on error resume next’ serves?
How to declare an array in vbscript?
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
i need to sort the data using qtp script for this how i need to write a qtp script
What is select case statement?