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 / swati

above solution is a subroutine not a function

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dictionary object in vbscript? Explain?

620


What is the use of the formatdatetime function in the vbscript language?

547


Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3029


about vb scripting programs this type of all question& answers

1691


What is select case statement?

595






What is vbscript?

593


if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

1436


What is byref and byval parameters in vbscript?

601


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

601


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

603


What purpose does ‘on error resume next’ serves?

545


Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.

1429


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

2157


Differentiate javascript and vbscript?

565


How are arrays declared in the vbscript language?

535