How to pass the parameter from one function to another
function in VB Scripting?



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

Post New Answer

More VB Script Interview Questions

how to increasing the numbers in a given text box please write a vb script

0 Answers  


write script to open Gmail.com, and to write script for entering username and password and show whether the result as pass or fail

2 Answers   Thomson Reuters,


Here in my automation tool, i am retreiving some values and i need to store this values in the excel. How can i achieve this?. We are using VBA as scripting language. please let me know if you require any further inputs.

1 Answers  


wat is com(common object model)object for mozilla firefox??? if any knows the exact answer....plz rply me

2 Answers  


how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me

0 Answers  






Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder

0 Answers   IBM,


how do you make the variable declaration mandatory?what is the use of "option explicit"?

2 Answers  


How to Import data from a file (file is on the desktop) to the data table

2 Answers   IBM,


Difference between Function and Sub routine?

0 Answers   Polaris,


What is the main difference between function and sub-procedure?

0 Answers  


How to declare an array in vbscript?

0 Answers  


How to open a file. What is the perpose of true and false mode there?

0 Answers  


Categories