How to pass the parameter from one function to another
function in VB Scripting?
Answer / 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 |
What is Procedure or Subroutine in VB Script?
What is Querystring collection?
how to genarate a random numbers in vb?
i have to open a notepad having no. of words in dat file by recording in qtp and then find a particular word and display true or false
Which event is triggered when mouse focus comes out of an element in the vbscript language?
How can the spaces from the string be removed?
Mention how to access array data?
How can we return a value from User Defined Function ? For Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b) and i am addding those 2 and storing in to another var (c). Now i want to pass that var(c) to another function (fun2). What will be the script?
How will you compare two strings in vbscript?
How to find arry size in qtp vb script
Both Static and dynamic arrays are handled by VB script. Is it true?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?