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

who you define variables and functions in VB?

1 Answers  


write a vb script to display the code "vbscripting" alphabet by alphabet(i e 1st v then b and up to g)

2 Answers  


what is used of Property........End Property loop ? how to write the script for it?

0 Answers  


write a vb script to open a text file and write into it

2 Answers  


How do you create a recordset object in VBScript?

3 Answers  






How will you check that a variable is an array in vbscript?

0 Answers  


Explain sga memory structures?

0 Answers  


How to map test cases with Automation script? Please explain in details.With example Thanks for your co-operation(In Advance)

1 Answers   Google, IBM,


What are the environments supported by vbscript language?

0 Answers  


When to use function procedures and what are its characteristics?

0 Answers  


Which is the default Data types in VBScript?

7 Answers   AppLabs,


Which in-built function related to an array joins substrings into one string in the vbscript language?

0 Answers  


Categories