Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?

1162


What is the use of option explicit statement?

1030


Explain about the support of asp for vb script functionality?

987


What purpose does ‘on error resume next’ serves?

1145


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

2745


What is the output of a + b in vbscript if a = 5 and b = 10?

3162


what is event handling?

1056


How to Import data from a file (file is on the desktop) to the data table

2127


Both Static and dynamic arrays are handled by VB script. Is it true?

1127


How can you destroy an object in vbscript?

1165


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

1028


Which constant is used for print and display functions and works as same as pressing enter key?

1044


how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me

1893


Mention what is variant in vbscript?

989


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

3071