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
How to pass argument by reference to a function in vbscript?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
What is variant in vb script?
how to operate webobjects in a webpage using getobject function and then using generic methods?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
What are the different types of loops available in the vbscript language?
How will you get the octal value of the given number in vbscript?
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
What are string functions in vbscript?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
If else for do while select in vb script?
What is the extension of the vbscript file?
Illustrate briefly about the different types of statement
Which operator is used to concatenate the 2 values in the vbscript language?
How to assign a numeric value to a variable?