How to return a value from function...?
you should not tell msgbox, print.. etc.,
Answer Posted / selva
yes function can return multiple vales.
Public Function fn()
Dim arr(1)
arr(0)=23
arr(1)=67
fn=arr
End Function
a=fn
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
What is the use of option explicit statement?
Explain about the support of asp for vb script functionality?
What purpose does ‘on error resume next’ serves?
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards
What is the output of a + b in vbscript if a = 5 and b = 10?
what is event handling?
How to Import data from a file (file is on the desktop) to the data table
Both Static and dynamic arrays are handled by VB script. Is it true?
How can you destroy an object in vbscript?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
Which constant is used for print and display functions and works as same as pressing enter key?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
Mention what is variant in vbscript?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.