How to return a value from function...?
you should not tell msgbox, print.. etc.,
Answer Posted / rishi agrawal
Function MyFunction(Num)
InputBox("What is your name?","My Input")
'Code for return value from function
MyFunction= Num + 1
End Function
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Description.Create
How will you convert a given number to long in vbscript?
How are values assigned to string type and numeric type variables?
how to automatically update the sql server2005 database records when insert in vb6?
after medical test,when will be the police verification
Explain about operator precedence in vb script?
Mention what is vbscript procedures?
How will you get the natural logarithm of the given number in vbscript?
What are lbound and ubound in the vbscript language?
How to open a file. What is the perpose of true and false mode there?
What is the use of the formatdatetime function in the vbscript language?
Why is the use of exit do or exit for statements within loops discouraged?
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
How to access array data?
How do you declare a variable in vbscript?