can a Function return more than one value..??? if so please
give me the code for that.

Answer Posted / bantanahal haribabu

function exmp(a,b)
dim myarray(2)
myarray(0)=a+b
myarray(1)=a*b
exmp=myarray
end function
val=exmp(2,3)
msgbox isarray(val)
for i=o to ubound(val)
msgbox val(i)
next

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

567


what are the limitations of smart identification in qtp 9.0

1932


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

1712


Which features or drawbacks of QTP lead to the upgrade for a newer version?

576


What is accessibility check point?

663






can anyone tell me from where i can download qtp demo or crack version

1627


how to acess a test in RSA?

1673


Write a script to verify font style and color of a windows object using descriptive programming

837


What are the features of quick test pro(qtp)?

538


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

585


What is the differences between image check point and bit map check point?

584


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1583


Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation

1587


Discuss quicktest professional environment?

592


How will internal and external links be validated and updated? how often?

644