Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How will you format a number in percetage format in vbscript?

1001


create a form to accept username and password validate the username and password with using message box, display the corresponding user message

2633


I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?

1402


What is purpose of scripting.filesystemobject class in vbscript?

1129


How do you declare a variable in vbscript?

1076


Which loop is used in case of arrays in the vbscript language?

968


What is dictionary object in vbscript? Explain?

1190


Explain some uses of vb script?

986


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

2134


How to Convert Hex color code to color name in VB Script?

4420


I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

2314


Which event is triggered when mouse focus comes out of an element in the vbscript language?

961


What is the extension of the vbscript file?

1056


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

2353


How can the spaces from the string be removed?

1022