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

Which operator can be used to change the value of the operand or change the state of the condition?

581


Explain the tristate constants in vbscript?

561


How to Enter Values on the Command promt using VB script

1534


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

1844


How to open excel in vb script?

572






What are lbound and ubound in the vbscript language?

609


Explain few date functions in vbscript?

614


Which operator can be used to check if two numbers are equal or not in vbscript?

654


what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?

1436


hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?

1554


How can constants be declared in the vbscript language?

553


Explain about the asc function?

607


Explain about the functionality of vb script?

576


what is the standards used for writing the script in QTP

1892


What are the naming conventions while declaring a variable in the vbscript language?

621