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 Multiple values in functions by using vb script?

Function value(arg1,arg2)

N1=arg1+arg2
N2=arg1-agr2
N3=arg1*agr2
N4=arg1/arg2

Value= How to pass ?

End Function

Answer Posted / sureshkumar

Function value(a1,a2, res)
res=a1+a2
res=a1-a2
return res
End Function

call value(10,10,res)
print res[0]
print res[1]

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to capture a runtime error in vbscript?

1176


What are class variables?

1050


How to declare an array in vbscript?

1341


Both Static and dynamic arrays are handled by VB script. Is it true?

1094


Which command is used for writing text on a page?

1017


Explain different types of segment?

1045


How will you get the smallest subscript of an array in vbscript?

1389


Compare java script and vb script?

1095


How can constants be declared in the vbscript language?

1005


Explain the operator precedence in vb script?

1095


Explain vbscript in detail?

1062


Which keyword is used to declare a variable in the vbscript language?

954


please can you help me to get a code of flames using a visual basic 6

1799


Mention how to assign a date value to a variable?

1102


What is loose binding? Why is it not a good practice to use it?

1117