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
Illustrate briefly about the different types of statement
How to replace junk code recorded by QTP with a mall function.
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
What is variant in vb script?
about vb scripting programs this type of all question& answers
Explain about scrrun.dll?
How can you fetch the value of a cookie?
Mention the environments where vbscript could be run?
i need to sort the data using qtp script for this how i need to write a qtp script
did any one attended interview in applabs if you had gone through plz tell me the procedure
where can i learn VB scripint ?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
what is the standards used for writing the script in QTP
What is sql loader? Explain the files used by sql loader to load file?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?