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 / 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 |
What is Procedure or Subroutine in VB Script?
Explain vbscript in detail?
in qtp we ve datatable look like excel ,if we want to extract data from excel which saved in my documet how can i get that in datatable using vb script
Could Anybody tell me the VBscript for REVERSE an Integer int reverse(int num) Ex:246 to 642
Mention what is the main difference between function and sub-procedure?
Explain about operator precedence in vb script?
Write a VB Script to count blank Lines in a notepad
print the array values in ascending order?
What is vbscript language used for and which earlier language is it modeled upon?
How will you get the last occurrence of one string within another string using vbscript?
I'm new to QTP, i facing a a problem in the script says"Object not found", "Browser("").page("").frame(Name:=fminfo).webtable(). the issue is, QTp is not able to identify the web table in run time.becuase in that fram"fminfo" there are "n"table and the table do not have the names,Html id. 1) i need to count the number webtables available on that page. 2)need to identify the webtable cell values. 3)How Loop the once i get the count and retrive the cell data of each webtable? Can anyone help on this, plz.. Thanks, Suresh
What are the different types of operators and their order of precedence?