How to pass the parameter from one function to another
function in VB Scripting?
Answer Posted / vaishnavi murugan
dim a
a=10
b=20
call value(a,b)
function value(a,b)
c = a+b
msgbox c
call val1(c)
end function
function val1(c)
d = c+2
msgbox d
end function
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
How will you get a subset of a array in vbscript?
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
What are keywords in the vbscript language?
Explain the scope of the variables using dim, public, and private keywords respectively.
How to assign a date value to a variable?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
Which in-built function is used to format the number in the vbscript language?
How to open browser in vb script?
how to automatically update the sql server2005 database records when insert in vb6?
Which function is used in the vbscript language to convert the specified expression into a date type value?
Explain what is loose binding? Why is it not a good practice to use it?
How to Convert Hex color code to color name in VB Script?
What is vbscript?