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
Explain about vb script?
How will you check that a variable is an array in vbscript?
Which date function is used in the vbscript language to find the difference between the 2 dates?
Explain a few date functions in vbscript
Does VB/Win make standalone .EXE files?
What is the difference between function and procedure?
how to increase the values in text box in a given text box increament by two values by clicking on button
why variable name should not exceed 255 characters?
How to pass argument by reference to a function in vbscript?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.
Why to use option explicit in vb script?
Anyone have qtp11.0 crack?
Explain vbscript in detail?
write a program to display configuration of a local system with the help of vb script.