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

How are values assigned to string type and numeric type variables?

633


Explain about constants in vb script?

657


What is the purpose of drive object of scripting.filesystemobject class in vbscript?

692


Which in-built function is used to format the number in the vbscript language?

670


Why to use option explicit in vb script?

701






Mention what is the main difference between function and sub-procedure?

635


What are the environments supported by vbscript language?

587


How will you reverse a string in vbscript?

703


about vb scripting programs this type of all question& answers

1786


after medical test,when will be the police verification

1805


What is event handling in vbscript?

686


Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder

1680


What is vbscript language used for and which earlier language is it modeled upon?

626


when we use filter funtiom invb script(QTP)

2382


What are the rules to name variable in vbscript?

670