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

hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?

1975


while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

2044


What are the special sub-types in vbscript?

1037


Explain about constants in vb script?

1009


What is the extension of the vbscript file?

1038


Mention what if you do not specify anything when you call a procedure?

969


Mention the environments where vbscript could be run?

1200


How to pass argument by reference to a function in vbscript?

1035


Explain the operator precedence in vb script?

1050


what is the object hyrarchy in QTP for a web based application

2380


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

3009


Mention what is select case statement?

937


In html file what is an ideal position to include vbscript?

1394


Explain about the functionality of vb script?

956


What is the use of option explicit in vbscript?

977