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
How can constants be declared in the vbscript language?
What are the properties of regexp object?
Why is the use of exit do or exit for statements within loops discouraged?
how to write validation function for date in vb script
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
Which keyword is used to declare a variable in the vbscript language?
What are the environments supported by vbscript language?
Mention what is the use of option explicit in vbscript?
What are the data types supported by vbscript?
What is event handling in vbscript?
how does vb script help in web page designing? explain with example.
How to make sure that items in a wintree are sorted al?
Explain about scrrun.dll?
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).