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
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?
Can u describe what kind of testing are for OTC derivates by banks.
What is the difference between function and procedure?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
What are class properties?
hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz
Write a code to print numbers from 5 to 0?
What are the advantages of vbscript?
Which operator is used to perform the comparison among 2 operands in the vbscript language?
Mention what is the main difference between function and sub-procedure?
Which operator can be used to do an xor operation in vbscript?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
what is the difference between modular and data and keyword driven framework
What is the use of the date function in the vbscript language?
Which loop is used in case of arrays in the vbscript language?