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

I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

2236


what is the features of visual basic?

2042


Which loop is used in case of arrays in the vbscript language?

903


Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1890


Which operator can be used to do an xor operation in vbscript?

1183


Mention when to use function procedures and what are its characteristics?

1057


what types of bugs will we find out in banking projects for automation testing?

2169


When are redim statement and preserve keyword used in the vbscript language?

988


how to acces the remote mechine using vb cript(QTP)

1970


What are the uses of vb script?

986


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

2250


Can u describe what kind of testing are for OTC derivates by banks.

2077


Explain few date functions in vbscript?

1001


Explain about tristate constants in vbscript?

1033


How many types of operators are available in the vbscript language?

920