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

plz give ans to this in vb script........ "krishna radha" i want to print this string "Radha Krishna" like this

5 Answers  


can any body give the code to write the function for given suppose user login with usrer id and pwd to yahoomail.after cliking "sign in"if it is valid user id the next page will display userid'message box.( Note u have to use excel sheet to retrive the userid's data)

3 Answers   Bally Technologies,


w r p syed then output was deys and click eysd and click ysde and click sdey and click deys and click eysd............

2 Answers   Cap Gemini, iGate,


How will you get a random number between 0 and 1 in vbscript?

0 Answers  


Explain the extension .hta?

0 Answers  


If else for do while select in vb script?

0 Answers  


Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

0 Answers   TCS, Wipro,


Can u describe what kind of testing are for OTC derivates by banks.

0 Answers   BoA,


What are the rules to name variable in vbscript?

0 Answers  


Why is it recommended to close the database connection every time after the work is completed?

0 Answers  


How do you create a recordset object in VBScript?

3 Answers  


Explain vbscript in detail?

0 Answers  


Categories