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

Explain the constants in vbscript?

1004


How do i automate a website www.flyashx.com without having any test cases witin a week time.

1931


What is the difference between a dictionary and an array?

1073


What are the environments supported by vbscript language?

941


How will you release the memory acquired by an array variable in vbscript?

1234


Mention what is the main difference between function and sub-procedure?

1061


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

1025


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

2346


What is dictionary object in vbscript? Explain?

1190


What is the purpose of drive object of scripting.filesystemobject class in vbscript?

1011


How can you fetch the value of a cookie?

1011


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

1116


What are class events?

987


Why to use option explicit in vb script?

1062


Explain the operator precedence in vb script?

1082