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
How can you create an object in vbscript?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
What are the special sub-types in vbscript?
Difference between dim,public and private variables in vb script?
What is loose binding? Why is it not a good practice to use it?
how to check whether link is disabled in QTP??
How will you get the exponent of the given number in vbscript?
What is the technology used by vb script?
What are the environments supported by vbscript language?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
What is the event handling in vbscript?
Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.
What is the difference between vb debugger and the script debugger?
What purpose does ‘on error resume next’ serves?